home *** CD-ROM | disk | FTP | other *** search
Text File | 2008-10-29 | 246.4 KB | 6,871 lines |
- package
- {
- import components.ExtendedImage;
- import components.InstallerApplication;
- import components.LocalizedButton;
- import components.LocalizedFormItem;
- import components.LocalizedLabel;
- import components.LocalizedText;
- import components.OSButtonBarHBox;
- import flash.accessibility.*;
- import flash.data.*;
- import flash.debugger.*;
- import flash.desktop.*;
- import flash.display.*;
- import flash.errors.*;
- import flash.events.*;
- import flash.external.*;
- import flash.filesystem.*;
- import flash.filters.*;
- import flash.geom.*;
- import flash.html.*;
- import flash.html.script.*;
- import flash.media.*;
- import flash.net.*;
- import flash.printing.*;
- import flash.profiler.*;
- import flash.system.*;
- import flash.text.*;
- import flash.ui.*;
- import flash.utils.*;
- import flash.xml.*;
- import mx.binding.*;
- import mx.containers.Canvas;
- import mx.containers.Form;
- import mx.containers.HBox;
- import mx.containers.VBox;
- import mx.controls.Button;
- import mx.controls.CheckBox;
- import mx.controls.HRule;
- import mx.controls.Image;
- import mx.controls.Label;
- import mx.controls.LinkButton;
- import mx.controls.ProgressBar;
- import mx.controls.Spacer;
- import mx.controls.Text;
- import mx.controls.TextArea;
- import mx.controls.TextInput;
- import mx.core.Application;
- import mx.core.DeferredInstanceFromFunction;
- import mx.core.IFlexDisplayObject;
- import mx.core.UIComponent;
- import mx.core.UIComponentDescriptor;
- import mx.core.mx_internal;
- import mx.events.FlexEvent;
- import mx.events.PropertyChangeEvent;
- import mx.resources.ResourceManager;
- import mx.skins.ProgrammaticSkin;
- import mx.states.AddChild;
- import mx.states.RemoveChild;
- import mx.states.SetProperty;
- import mx.states.State;
- import mx.styles.*;
- import mx.utils.ObjectProxy;
- import mx.utils.URLUtil;
- import skins.SimpleScrollArrowSkin;
- import skins.SimpleScrollThumbSkin;
- import skins.SimpleScrollTrackSkin;
- import skins.SimpleTwoColorBorder;
- import util.PNGHeaderUtil;
-
- use namespace mx_internal;
-
- public class AppInstaller extends InstallerApplication implements IBindingClient
- {
- private static var _watcherSetupUtil:IWatcherSetupUtil;
-
- private static const Adobe_patent_P758:String = "AdobePatentID=\"P758\"";
-
- mx_internal static var _AppInstaller_StylesInit_done:Boolean = false;
-
- private var fileToOpen:File;
-
- mx_internal var _bindings:Array;
-
- private var _597697812uninstallContentBox:VBox;
-
- private var _229542092greenCircleIcon:Class;
-
- public var _AppInstaller_VBox2:VBox;
-
- public var _AppInstaller_VBox7:VBox;
-
- mx_internal var _bindingsByDestination:Object;
-
- private var _1492588304errorIDText:String;
-
- private var _1993628251finishButton:LocalizedButton;
-
- private var _embed_css_Button_downSkin_png_1315160815:Class;
-
- private var _768499206updateSameVerContentBox:VBox;
-
- private var asyncCallTimer:Timer;
-
- public var _AppInstaller_SetProperty10:SetProperty;
-
- public var _AppInstaller_SetProperty11:SetProperty;
-
- public var _AppInstaller_SetProperty12:SetProperty;
-
- public var _AppInstaller_SetProperty13:SetProperty;
-
- public var _AppInstaller_SetProperty14:SetProperty;
-
- public var _AppInstaller_SetProperty15:SetProperty;
-
- public var _AppInstaller_SetProperty16:SetProperty;
-
- public var _AppInstaller_SetProperty17:SetProperty;
-
- public var _AppInstaller_SetProperty18:SetProperty;
-
- public var _AppInstaller_SetProperty19:SetProperty;
-
- private var _1318708836updateAppsRunning:TextArea;
-
- public var _AppInstaller_SetProperty20:SetProperty;
-
- public var _AppInstaller_SetProperty21:SetProperty;
-
- public var _AppInstaller_SetProperty22:SetProperty;
-
- public var _AppInstaller_SetProperty23:SetProperty;
-
- public var _AppInstaller_SetProperty24:SetProperty;
-
- public var _AppInstaller_SetProperty25:SetProperty;
-
- public var _AppInstaller_SetProperty26:SetProperty;
-
- public var _AppInstaller_SetProperty27:SetProperty;
-
- public var _AppInstaller_SetProperty28:SetProperty;
-
- public var _AppInstaller_SetProperty29:SetProperty;
-
- public var _AppInstaller_SetProperty30:SetProperty;
-
- public var _AppInstaller_SetProperty31:SetProperty;
-
- public var _AppInstaller_SetProperty32:SetProperty;
-
- public var _AppInstaller_SetProperty34:SetProperty;
-
- public var _AppInstaller_SetProperty35:SetProperty;
-
- public var _AppInstaller_SetProperty36:SetProperty;
-
- public var _AppInstaller_SetProperty37:SetProperty;
-
- public var _AppInstaller_SetProperty38:SetProperty;
-
- public var _AppInstaller_SetProperty39:SetProperty;
-
- private var _1197773823appIconBG:Class;
-
- public var _AppInstaller_SetProperty40:SetProperty;
-
- public var _AppInstaller_SetProperty41:SetProperty;
-
- public var _AppInstaller_SetProperty42:SetProperty;
-
- public var _AppInstaller_SetProperty43:SetProperty;
-
- public var _AppInstaller_SetProperty44:SetProperty;
-
- public var _AppInstaller_SetProperty45:SetProperty;
-
- public var _AppInstaller_SetProperty46:SetProperty;
-
- public var _AppInstaller_SetProperty47:SetProperty;
-
- public var _AppInstaller_SetProperty48:SetProperty;
-
- public var _AppInstaller_SetProperty49:SetProperty;
-
- private var _1243058932verifiedLabel:LocalizedLabel;
-
- private var _embed__font_Myriad_Pro_Bold_medium_normal_1670913903:Class;
-
- public var _AppInstaller_SetProperty50:SetProperty;
-
- public var _AppInstaller_SetProperty51:SetProperty;
-
- public var _AppInstaller_SetProperty52:SetProperty;
-
- public var _AppInstaller_SetProperty53:SetProperty;
-
- public var _AppInstaller_SetProperty54:SetProperty;
-
- public var _AppInstaller_SetProperty55:SetProperty;
-
- public var _AppInstaller_SetProperty56:SetProperty;
-
- public var _AppInstaller_SetProperty57:SetProperty;
-
- private var _934908847record:ObjectProxy;
-
- private var _1922221831progressCancel:LocalizedButton;
-
- private var _1627475090doneLabel:LocalizedLabel;
-
- private var events:EventDispatcher;
-
- private var _786866994uninstallLabel:LocalizedText;
-
- private var _1648198546updateDiffVersionForm:Form;
-
- public var _AppInstaller_LocalizedLabel6:LocalizedLabel;
-
- private var _embed_mxml_assets_uninstall_icon_png_1358934296:Class;
-
- private var doUpdate:Boolean = false;
-
- private var _embed__font_Myriad_Pro_medium_normal_1085510355:Class;
-
- private var _1814491210updateDiffHRule:HRule;
-
- private var _314102585updateDiffVerContentBox:VBox;
-
- private var _1791483012titleLabel:LocalizedLabel;
-
- private var _embed_css_Button_Default_upSkin_png_1016964574:Class;
-
- private var _embed_css__assets_scroll_thumb_png_1750713466:Class;
-
- private var _embed_css_Button_upSkin_png_84724716:Class;
-
- private var _476780146installAIRCheckBox:CheckBox;
-
- private var _1188010186addShortcutCheckBox:CheckBox;
-
- private var _1644197196uninstallButton:LocalizedButton;
-
- private var _1869917749airPackageIcon:Class;
-
- private var _1707366196redBlockedIcon:Class;
-
- private var _139350644progressContent:VBox;
-
- private var _507740210appIconCanvas:Canvas;
-
- private var _embed_mxml_assets_browse_icon_png_1873603066:Class;
-
- private var _83361310dialogCancel:LocalizedButton;
-
- private var _embed_css_progress_bar_assets_swf_ProgressBarSkin_2022653080:Class;
-
- private var _1657456934updateDiffLinkButton:LinkButton;
-
- private var _732254545startApplicationCheckBox:CheckBox;
-
- private var _1131509414progressBar:ProgressBar;
-
- private var _1080032473waitingCancel:LocalizedButton;
-
- private var _1654957862redCircleIcon:Class;
-
- private var _955756181doneLabelResourceName:String;
-
- private var _264524434contentBox:VBox;
-
- private var _55415876leftBox:Canvas;
-
- private var _1990131276cancelButton:LocalizedButton;
-
- public var _AppInstaller_Label2:Label;
-
- public var _AppInstaller_Label3:Label;
-
- public var _AppInstaller_Label4:Label;
-
- public var _AppInstaller_Label5:Label;
-
- public var _AppInstaller_Label1:Label;
-
- public var _AppInstaller_AddChild2:AddChild;
-
- public var _AppInstaller_AddChild3:AddChild;
-
- public var _AppInstaller_AddChild4:AddChild;
-
- public var _AppInstaller_AddChild5:AddChild;
-
- public var _AppInstaller_AddChild6:AddChild;
-
- public var _AppInstaller_AddChild7:AddChild;
-
- public var _AppInstaller_AddChild1:AddChild;
-
- public var _AppInstaller_AddChild9:AddChild;
-
- public var _AppInstaller_AddChild8:AddChild;
-
- private var _1780808646updateDiffMidSpacer:Spacer;
-
- public var _AppInstaller_AddChild12:AddChild;
-
- public var _AppInstaller_AddChild14:AddChild;
-
- public var _AppInstaller_AddChild16:AddChild;
-
- public var _AppInstaller_AddChild11:AddChild;
-
- public var _AppInstaller_AddChild13:AddChild;
-
- public var _AppInstaller_AddChild15:AddChild;
-
- public var _AppInstaller_AddChild17:AddChild;
-
- public var _AppInstaller_AddChild10:AddChild;
-
- private var _763044039progressLabel:LocalizedLabel;
-
- private var _2137741485installButton:LocalizedButton;
-
- public var _AppInstaller_SetProperty1:SetProperty;
-
- public var _AppInstaller_SetProperty2:SetProperty;
-
- public var _AppInstaller_SetProperty3:SetProperty;
-
- public var _AppInstaller_SetProperty4:SetProperty;
-
- public var _AppInstaller_SetProperty5:SetProperty;
-
- public var _AppInstaller_SetProperty6:SetProperty;
-
- public var _AppInstaller_SetProperty7:SetProperty;
-
- public var _AppInstaller_SetProperty8:SetProperty;
-
- public var _AppInstaller_SetProperty9:SetProperty;
-
- mx_internal var _bindingsBeginWithWord:Object;
-
- private var _47200334uninstallCancelButton:LocalizedButton;
-
- private var _137111012openButton:LocalizedButton;
-
- private var _1622889191securityContent:VBox;
-
- private var _1733670438updateDiffCancelButton:LocalizedButton;
-
- private var buttonKeyPressTimer:Timer;
-
- private var _embed_mxml_assets_down_arrow_png_1113717148:Class;
-
- public var _AppInstaller_Spacer2:Spacer;
-
- private var _1092085433continueButton:LocalizedButton;
-
- private var _1410965406iconImage:Image;
-
- private var _992840477airIcon:Class;
-
- private var _showAppIcon:Boolean = false;
-
- private var _embed_css_Button_Default_downSkin_png_1063774301:Class;
-
- private var _299359041appIconImage:ExtendedImage;
-
- private var _924911611updateDiffBotSpacer:Spacer;
-
- public var _AppInstaller_TextInput1:TextInput;
-
- public var _AppInstaller_RemoveChild10:RemoveChild;
-
- public var _AppInstaller_RemoveChild11:RemoveChild;
-
- public var _AppInstaller_RemoveChild12:RemoveChild;
-
- public var _AppInstaller_RemoveChild13:RemoveChild;
-
- private var _805692312uninstallSame:LocalizedButton;
-
- private var _447578303showDescription:Boolean;
-
- public var _AppInstaller_LocalizedLabel10:LocalizedLabel;
-
- private var _180746570prefsCancel:LocalizedButton;
-
- private var _773127867updateDiffText:LocalizedText;
-
- private var _3124773eula:EULA;
-
- private var _2057878774redSecurityIcon:Class;
-
- private var _embed_mxml_assets_reinstall_icon_png_1354539284:Class;
-
- private var _embed_css_Button_overSkin_png_723251137:Class;
-
- private var _1027222035securityHeader:LocalizedText;
-
- private var _embed_css_Button_Default_overSkin_png_1598282337:Class;
-
- public var _AppInstaller_Text1:Text;
-
- public var _AppInstaller_Text2:Text;
-
- public var _AppInstaller_Text3:Text;
-
- private var _1298695779runButton:LocalizedButton;
-
- private var _embed_mxml_assets_run_icon_png_450278490:Class;
-
- public var _AppInstaller_RemoveChild1:RemoveChild;
-
- public var _AppInstaller_RemoveChild2:RemoveChild;
-
- public var _AppInstaller_RemoveChild3:RemoveChild;
-
- public var _AppInstaller_RemoveChild4:RemoveChild;
-
- public var _AppInstaller_RemoveChild5:RemoveChild;
-
- public var _AppInstaller_RemoveChild6:RemoveChild;
-
- public var _AppInstaller_RemoveChild7:RemoveChild;
-
- public var _AppInstaller_RemoveChild8:RemoveChild;
-
- public var _AppInstaller_RemoveChild9:RemoveChild;
-
- private var _978582720updateSameVerCancelButton:LocalizedButton;
-
- private var _152218811updateMsgText:LocalizedText;
-
- private var _embed_css_Button_disabledSkin_png_250132025:Class;
-
- private var _1106646328updateDiffReplaceButton:LocalizedButton;
-
- private var _embed_css_Button_Default_DisabledSkin_png_2000144681:Class;
-
- private var _embed_css_progress_bar_assets_swf_ProgressTrackSkin_1370281296:Class;
-
- private var _722012197PrefsVBox:VBox;
-
- mx_internal var _watchers:Array;
-
- private var _703057299yellowSecurityIcon:Class;
-
- private var _documentDescriptor_:UIComponentDescriptor;
-
- private var _329533269errorText:String;
-
- private var _807907342securityInfo:SecurityInfo;
-
- public function AppInstaller()
- {
- this._documentDescriptor_ = new UIComponentDescriptor({
- "type":InstallerApplication,
- "propertiesFactory":function():Object
- {
- return {"childDescriptors":[new UIComponentDescriptor({
- "type":Canvas,
- "id":"leftBox",
- "propertiesFactory":function():Object
- {
- return {"childDescriptors":[new UIComponentDescriptor({
- "type":Image,
- "id":"iconImage",
- "propertiesFactory":function():Object
- {
- return {
- "width":83,
- "height":81
- };
- }
- }),new UIComponentDescriptor({
- "type":Canvas,
- "id":"appIconCanvas",
- "propertiesFactory":function():Object
- {
- return {
- "width":80,
- "height":80,
- "visible":false,
- "childDescriptors":[new UIComponentDescriptor({
- "type":ExtendedImage,
- "id":"appIconImage",
- "stylesFactory":function():void
- {
- this.verticalCenter = "0";
- this.horizontalCenter = "0";
- },
- "propertiesFactory":function():Object
- {
- return {
- "width":64,
- "height":64,
- "maintainAspectRatio":true
- };
- }
- })]
- };
- }
- })]};
- }
- }),new UIComponentDescriptor({
- "type":VBox,
- "id":"contentBox",
- "propertiesFactory":function():Object
- {
- return {
- "styleName":"topContentBox",
- "percentWidth":100,
- "percentHeight":100,
- "horizontalScrollPolicy":"off",
- "verticalScrollPolicy":"auto"
- };
- }
- })]};
- }
- });
- this._992840477airIcon = AppInstaller_airIcon;
- this._1869917749airPackageIcon = AppInstaller_airPackageIcon;
- this._703057299yellowSecurityIcon = AppInstaller_yellowSecurityIcon;
- this._2057878774redSecurityIcon = AppInstaller_redSecurityIcon;
- this._1707366196redBlockedIcon = AppInstaller_redBlockedIcon;
- this._1654957862redCircleIcon = AppInstaller_redCircleIcon;
- this._229542092greenCircleIcon = AppInstaller_greenCircleIcon;
- this._1197773823appIconBG = AppInstaller_appIconBG;
- this.ERROR_ID_TO_NAME = {
- 5005:"badAIRFile",
- 5006:"badInstallLocation",
- 5007:"duplicateInstallLocation",
- 5008:"windowsInstallInProgress",
- 5009:"appInstallRejected",
- 5010:"runtimeNotFound",
- 5011:"runtimeDownloadFailed",
- 5012:"runtimeInstallFailed",
- 5013:"badConfiguration",
- 5014:"runtimeFailure",
- 5016:"appInstallRejected",
- 5017:"untrustedAppInstallRejected",
- 5018:"runtimeDownloadDisabled",
- 5019:"runtimePatchInUse",
- 5020:"appLaunchFailed",
- 5021:"downgradeAppDenied",
- 5022:"badAIRFile",
- 5023:"badAIRFile",
- 5024:"linuxDistroUnknown",
- 5025:"linuxKeyring"
- };
- this._embed__font_Myriad_Pro_Bold_medium_normal_1670913903 = AppInstaller__embed__font_Myriad_Pro_Bold_medium_normal_1670913903;
- this._embed__font_Myriad_Pro_medium_normal_1085510355 = AppInstaller__embed__font_Myriad_Pro_medium_normal_1085510355;
- this._embed_css_Button_Default_DisabledSkin_png_2000144681 = AppInstaller__embed_css_Button_Default_DisabledSkin_png_2000144681;
- this._embed_css_Button_Default_downSkin_png_1063774301 = AppInstaller__embed_css_Button_Default_downSkin_png_1063774301;
- this._embed_css_Button_Default_overSkin_png_1598282337 = AppInstaller__embed_css_Button_Default_overSkin_png_1598282337;
- this._embed_css_Button_Default_upSkin_png_1016964574 = AppInstaller__embed_css_Button_Default_upSkin_png_1016964574;
- this._embed_css_Button_disabledSkin_png_250132025 = AppInstaller__embed_css_Button_disabledSkin_png_250132025;
- this._embed_css_Button_downSkin_png_1315160815 = AppInstaller__embed_css_Button_downSkin_png_1315160815;
- this._embed_css_Button_overSkin_png_723251137 = AppInstaller__embed_css_Button_overSkin_png_723251137;
- this._embed_css_Button_upSkin_png_84724716 = AppInstaller__embed_css_Button_upSkin_png_84724716;
- this._embed_css__assets_scroll_thumb_png_1750713466 = AppInstaller__embed_css__assets_scroll_thumb_png_1750713466;
- this._embed_css_progress_bar_assets_swf_ProgressBarSkin_2022653080 = AppInstaller__embed_css_progress_bar_assets_swf_ProgressBarSkin_2022653080;
- this._embed_css_progress_bar_assets_swf_ProgressTrackSkin_1370281296 = AppInstaller__embed_css_progress_bar_assets_swf_ProgressTrackSkin_1370281296;
- this._embed_mxml_assets_browse_icon_png_1873603066 = AppInstaller__embed_mxml_assets_browse_icon_png_1873603066;
- this._embed_mxml_assets_down_arrow_png_1113717148 = AppInstaller__embed_mxml_assets_down_arrow_png_1113717148;
- this._embed_mxml_assets_reinstall_icon_png_1354539284 = AppInstaller__embed_mxml_assets_reinstall_icon_png_1354539284;
- this._embed_mxml_assets_run_icon_png_450278490 = AppInstaller__embed_mxml_assets_run_icon_png_450278490;
- this._embed_mxml_assets_uninstall_icon_png_1358934296 = AppInstaller__embed_mxml_assets_uninstall_icon_png_1358934296;
- this.mx_internal::_bindings = [];
- this.mx_internal::_watchers = [];
- this.mx_internal::_bindingsByDestination = {};
- this.mx_internal::_bindingsBeginWithWord = {};
- super();
- mx_internal::_document = this;
- mx_internal::_AppInstaller_StylesInit();
- this.layout = "horizontal";
- this.verticalScrollPolicy = "off";
- this.horizontalScrollPolicy = "off";
- this.percentWidth = 100;
- this.percentHeight = 100;
- this.states = [this._AppInstaller_State1_c(),this._AppInstaller_State2_c(),this._AppInstaller_State3_c(),this._AppInstaller_State4_c(),this._AppInstaller_State5_c(),this._AppInstaller_State6_c(),this._AppInstaller_State7_c(),this._AppInstaller_State8_c(),this._AppInstaller_State9_c(),this._AppInstaller_State10_c(),this._AppInstaller_State11_c(),this._AppInstaller_State12_c(),this._AppInstaller_State13_c(),this._AppInstaller_State14_c(),this._AppInstaller_State15_c(),this._AppInstaller_State16_c(),this._AppInstaller_State17_c(),this._AppInstaller_State18_c(),this._AppInstaller_State19_c(),this._AppInstaller_State20_c(),this._AppInstaller_State21_c(),this._AppInstaller_State22_c(),this._AppInstaller_State23_c(),this._AppInstaller_State24_c(),this._AppInstaller_State25_c(),this._AppInstaller_State26_c(),this._AppInstaller_State27_c(),this._AppInstaller_State28_c(),this._AppInstaller_State29_c(),this._AppInstaller_State30_c(),this._AppInstaller_State31_c(),this._AppInstaller_State32_c()];
- this._AppInstaller_Boolean1_i();
- this.addEventListener("preinitialize",this.___AppInstaller_InstallerApplication1_preinitialize);
- this.addEventListener("applicationComplete",this.___AppInstaller_InstallerApplication1_applicationComplete);
- }
-
- public static function set watcherSetupUtil(param1:IWatcherSetupUtil) : void
- {
- AppInstaller._watcherSetupUtil = param1;
- }
-
- private function _AppInstaller_State7_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Prefs_Win";
- _loc1_.basedOn = "Prefs_Full_Win";
- _loc1_.overrides = [this._AppInstaller_RemoveChild1_i()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State7_enterState);
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty15_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty15 = _loc1_;
- _loc1_.name = "styleName";
- _loc1_.value = "";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty15",this._AppInstaller_SetProperty15);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- private function get appIconBG() : Class
- {
- return this._1197773823appIconBG;
- }
-
- public function ___AppInstaller_LocalizedButton2_click(param1:MouseEvent) : void
- {
- this.onSave();
- }
-
- private function _AppInstaller_Label2_i() : Label
- {
- var _loc1_:Label = new Label();
- this._AppInstaller_Label2 = _loc1_;
- _loc1_.styleName = "formItemText";
- _loc1_.maxWidth = 280;
- _loc1_.id = "_AppInstaller_Label2";
- BindingManager.executeBindings(this,"_AppInstaller_Label2",this._AppInstaller_Label2);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty6_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty6 = _loc1_;
- _loc1_.name = "identityVerified";
- _loc1_.value = false;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty6",this._AppInstaller_SetProperty6);
- return _loc1_;
- }
-
- public function set updateDiffBotSpacer(param1:Spacer) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._924911611updateDiffBotSpacer;
- if(_loc2_ !== param1)
- {
- this._924911611updateDiffBotSpacer = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateDiffBotSpacer",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_SetProperty26_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty26 = _loc1_;
- _loc1_.name = "resourceName";
- _loc1_.value = "lblInstallingApp";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty26",this._AppInstaller_SetProperty26);
- return _loc1_;
- }
-
- private function onAgree() : void
- {
- currentState = "ProgressInstall";
- this.events.dispatchEvent(new Event("appinstall.complete"));
- }
-
- private function _AppInstaller_LocalizedLabel6_i() : LocalizedLabel
- {
- var _loc1_:LocalizedLabel = new LocalizedLabel();
- this._AppInstaller_LocalizedLabel6 = _loc1_;
- _loc1_.resourceName = "lblDescription";
- _loc1_.styleName = "h2";
- _loc1_.id = "_AppInstaller_LocalizedLabel6";
- BindingManager.executeBindings(this,"_AppInstaller_LocalizedLabel6",this._AppInstaller_LocalizedLabel6);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_State28_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Update_Diff_More";
- _loc1_.basedOn = "Update_Diff_Ver";
- _loc1_.overrides = [this._AppInstaller_SetProperty47_i(),this._AppInstaller_RemoveChild9_i(),this._AppInstaller_AddChild14_i(),this._AppInstaller_SetProperty48_i()];
- return _loc1_;
- }
-
- public function set securityHeader(param1:LocalizedText) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1027222035securityHeader;
- if(_loc2_ !== param1)
- {
- this._1027222035securityHeader = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"securityHeader",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_SetProperty49_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty49 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 200;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty49",this._AppInstaller_SetProperty49);
- return _loc1_;
- }
-
- private function _AppInstaller_VBox14_c() : VBox
- {
- var _loc1_:VBox = null;
- _loc1_ = new VBox();
- _loc1_.styleName = "contentBox";
- _loc1_.percentWidth = 100;
- _loc1_.percentHeight = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedText7_c());
- _loc1_.addChild(this._AppInstaller_Spacer15_c());
- _loc1_.addChild(this._AppInstaller_Canvas5_c());
- _loc1_.addChild(this._AppInstaller_Spacer16_c());
- _loc1_.addChild(this._AppInstaller_OSButtonBarHBox8_c());
- return _loc1_;
- }
-
- private function set appIconBG(param1:Class) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1197773823appIconBG;
- if(_loc2_ !== param1)
- {
- this._1197773823appIconBG = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"appIconBG",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_Text3_i() : Text
- {
- var _loc1_:Text = new Text();
- this._AppInstaller_Text3 = _loc1_;
- _loc1_.percentWidth = 100;
- _loc1_.styleName = "errorNumberText";
- _loc1_.id = "_AppInstaller_Text3";
- BindingManager.executeBindings(this,"_AppInstaller_Text3",this._AppInstaller_Text3);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function __updateDiffReplaceButton_click(param1:MouseEvent) : void
- {
- this.onUpdate();
- }
-
- [Bindable(event="propertyChange")]
- public function get securityInfo() : SecurityInfo
- {
- return this._807907342securityInfo;
- }
-
- private function _AppInstaller_LocalizedButton13_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- this.updateSameVerCancelButton = _loc1_;
- _loc1_.resourceName = "btnCancel";
- _loc1_.addEventListener("click",this.__updateSameVerCancelButton_click);
- _loc1_.id = "updateSameVerCancelButton";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_State16_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "ProgressInstall";
- _loc1_.basedOn = "Progress";
- _loc1_.overrides = [this._AppInstaller_SetProperty26_i()];
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get PrefsVBox() : VBox
- {
- return this._722012197PrefsVBox;
- }
-
- [Bindable(event="propertyChange")]
- public function get updateDiffBotSpacer() : Spacer
- {
- return this._924911611updateDiffBotSpacer;
- }
-
- private function _AppInstaller_SetProperty14_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty14 = _loc1_;
- _loc1_.name = "styleName";
- _loc1_.value = "defaultButton";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty14",this._AppInstaller_SetProperty14);
- return _loc1_;
- }
-
- private function _AppInstaller_OSButtonBarHBox2_c() : OSButtonBarHBox
- {
- var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
- _loc1_.styleName = "buttonRow";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedButton4_i());
- _loc1_.addChild(this._AppInstaller_LocalizedButton5_i());
- return _loc1_;
- }
-
- private function _AppInstaller_AddChild14_i() : AddChild
- {
- var _loc1_:AddChild = new AddChild();
- this._AppInstaller_AddChild14 = _loc1_;
- _loc1_.position = "lastChild";
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_HBox3_c);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild14",this._AppInstaller_AddChild14);
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty37_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty37 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 200;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty37",this._AppInstaller_SetProperty37);
- return _loc1_;
- }
-
- public function ___AppInstaller_LocalizedButton10_click(param1:MouseEvent) : void
- {
- this.onFinish();
- }
-
- public function set openButton(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._137111012openButton;
- if(_loc2_ !== param1)
- {
- this._137111012openButton = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"openButton",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_Label1_i() : Label
- {
- var _loc1_:Label = new Label();
- this._AppInstaller_Label1 = _loc1_;
- _loc1_.percentWidth = 100;
- _loc1_.styleName = "formItemText";
- _loc1_.maxWidth = 280;
- _loc1_.id = "_AppInstaller_Label1";
- BindingManager.executeBindings(this,"_AppInstaller_Label1",this._AppInstaller_Label1);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty5_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty5 = _loc1_;
- _loc1_.name = "source";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty5",this._AppInstaller_SetProperty5);
- return _loc1_;
- }
-
- private function _AppInstaller_State6_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Prefs_Full_Win";
- _loc1_.basedOn = "appNameWithIconBaseState";
- _loc1_.overrides = [this._AppInstaller_SetProperty16_i(),this._AppInstaller_AddChild6_i()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State6_enterState);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get leftBox() : Canvas
- {
- return this._55415876leftBox;
- }
-
- public function set updateSameVerContentBox(param1:VBox) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._768499206updateSameVerContentBox;
- if(_loc2_ !== param1)
- {
- this._768499206updateSameVerContentBox = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateSameVerContentBox",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_LocalizedLabel5_c() : LocalizedLabel
- {
- var _loc1_:LocalizedLabel = new LocalizedLabel();
- _loc1_.resourceName = "lblSysAccessUNRESTRICTED";
- _loc1_.styleName = "formItemText";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function set securityInfo(param1:SecurityInfo) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._807907342securityInfo;
- if(_loc2_ !== param1)
- {
- this._807907342securityInfo = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"securityInfo",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_SetProperty25_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty25 = _loc1_;
- _loc1_.name = "resourceName";
- _loc1_.value = "lblReadyToInstall";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty25",this._AppInstaller_SetProperty25);
- return _loc1_;
- }
-
- private function _AppInstaller_Boolean1_i() : Boolean
- {
- var _loc1_:Boolean = undefined;
- this.showDescription = _loc1_;
- BindingManager.executeBindings(this,"showDescription",this.showDescription);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get uninstallCancelButton() : LocalizedButton
- {
- return this._47200334uninstallCancelButton;
- }
-
- private function _AppInstaller_State27_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Update_Diff_Ver";
- _loc1_.basedOn = "appNameWithIconBaseState";
- _loc1_.overrides = [this._AppInstaller_SetProperty45_i(),this._AppInstaller_AddChild13_i(),this._AppInstaller_SetProperty46_i()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State27_enterState);
- return _loc1_;
- }
-
- public function set PrefsVBox(param1:VBox) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._722012197PrefsVBox;
- if(_loc2_ !== param1)
- {
- this._722012197PrefsVBox = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"PrefsVBox",_loc2_,param1));
- }
- }
-
- [Bindable(event="propertyChange")]
- public function get appIconCanvas() : Canvas
- {
- return this._507740210appIconCanvas;
- }
-
- private function _AppInstaller_Text2_i() : Text
- {
- var _loc1_:Text = new Text();
- this._AppInstaller_Text2 = _loc1_;
- _loc1_.percentWidth = 100;
- _loc1_.id = "_AppInstaller_Text2";
- BindingManager.executeBindings(this,"_AppInstaller_Text2",this._AppInstaller_Text2);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_VBox13_i() : VBox
- {
- var _loc1_:VBox = null;
- _loc1_ = new VBox();
- this.uninstallContentBox = _loc1_;
- _loc1_.styleName = "contentBox";
- _loc1_.percentWidth = 100;
- _loc1_.percentHeight = 100;
- _loc1_.addEventListener("creationComplete",this.__uninstallContentBox_creationComplete);
- _loc1_.id = "uninstallContentBox";
- BindingManager.executeBindings(this,"uninstallContentBox",this.uninstallContentBox);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_Spacer13_c());
- _loc1_.addChild(this._AppInstaller_LocalizedText6_i());
- _loc1_.addChild(this._AppInstaller_Spacer14_c());
- _loc1_.addChild(this._AppInstaller_OSButtonBarHBox7_c());
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty48_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty48 = _loc1_;
- _loc1_.name = "width";
- _loc1_.value = "100%";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty48",this._AppInstaller_SetProperty48);
- return _loc1_;
- }
-
- private function _AppInstaller_LinkButton1_i() : LinkButton
- {
- var _loc1_:LinkButton = new LinkButton();
- this.updateDiffLinkButton = _loc1_;
- _loc1_.labelPlacement = "left";
- _loc1_.setStyle("icon",this._embed_mxml_assets_down_arrow_png_1113717148);
- _loc1_.addEventListener("click",this.__updateDiffLinkButton_click);
- _loc1_.id = "updateDiffLinkButton";
- BindingManager.executeBindings(this,"updateDiffLinkButton",this.updateDiffLinkButton);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedButton12_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- this.runButton = _loc1_;
- _loc1_.resourceName = "btnRunNow";
- _loc1_.styleName = "defaultButton";
- _loc1_.setStyle("icon",this._embed_mxml_assets_run_icon_png_450278490);
- _loc1_.setStyle("textAlign","left");
- _loc1_.addEventListener("click",this.__runButton_click);
- _loc1_.id = "runButton";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_State15_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "ProgressInit";
- _loc1_.basedOn = "Progress";
- _loc1_.overrides = [this._AppInstaller_SetProperty25_i()];
- return _loc1_;
- }
-
- public function __continueButton_click(param1:MouseEvent) : void
- {
- this.onContinue();
- }
-
- public function __uninstallButton_click(param1:MouseEvent) : void
- {
- this.onUninstall();
- }
-
- private function _AppInstaller_AddChild13_i() : AddChild
- {
- var _loc1_:AddChild = new AddChild();
- this._AppInstaller_AddChild13 = _loc1_;
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_VBox12_i);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild13",this._AppInstaller_AddChild13);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get iconImage() : Image
- {
- return this._1410965406iconImage;
- }
-
- private function _AppInstaller_SetProperty13_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty13 = _loc1_;
- _loc1_.name = "text";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty13",this._AppInstaller_SetProperty13);
- return _loc1_;
- }
-
- public function set eula(param1:EULA) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._3124773eula;
- if(_loc2_ !== param1)
- {
- this._3124773eula = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"eula",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_OSButtonBarHBox1_c() : OSButtonBarHBox
- {
- var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
- _loc1_.styleName = "buttonRow";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedButton1_i());
- _loc1_.addChild(this._AppInstaller_LocalizedButton2_c());
- _loc1_.addChild(this._AppInstaller_LocalizedButton3_i());
- return _loc1_;
- }
-
- public function ___AppInstaller_Button1_click(param1:MouseEvent) : void
- {
- this.onBrowse();
- }
-
- private function set airPackageIcon(param1:Class) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1869917749airPackageIcon;
- if(_loc2_ !== param1)
- {
- this._1869917749airPackageIcon = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"airPackageIcon",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_SetProperty36_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty36 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 205;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty36",this._AppInstaller_SetProperty36);
- return _loc1_;
- }
-
- public function set appIconCanvas(param1:Canvas) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._507740210appIconCanvas;
- if(_loc2_ !== param1)
- {
- this._507740210appIconCanvas = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"appIconCanvas",_loc2_,param1));
- }
- }
-
- [Bindable(event="propertyChange")]
- public function get updateDiffVersionForm() : Form
- {
- return this._1648198546updateDiffVersionForm;
- }
-
- private function _AppInstaller_bindingsSetup() : Array
- {
- var result:Array = null;
- var binding:Binding = null;
- result = [];
- binding = new Binding(this,function():Boolean
- {
- return record.app.description.length > 0;
- },function(param1:Boolean):void
- {
- showDescription = param1;
- },"showDescription");
- result[0] = binding;
- binding = new Binding(this,function():Object
- {
- return appIconBG;
- },function(param1:Object):void
- {
- appIconCanvas.setStyle("backgroundImage",param1);
- },"appIconCanvas.backgroundImage");
- result[1] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty1.target = param1;
- },"_AppInstaller_SetProperty1.target");
- result[2] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return contentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild1.relativeTo = param1;
- },"_AppInstaller_AddChild1.relativeTo");
- result[3] = binding;
- binding = new Binding(this,function():String
- {
- var _loc1_:* = undefined;
- var _loc2_:* = undefined;
- _loc1_ = record.app.name;
- return _loc1_ == undefined ? null : String(_loc1_);
- },function(param1:String):void
- {
- titleLabel.text = param1;
- },"titleLabel.text");
- result[4] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty2.target = param1;
- },"_AppInstaller_SetProperty2.target");
- result[5] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty3.target = param1;
- },"_AppInstaller_SetProperty3.target");
- result[6] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return contentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild2.relativeTo = param1;
- },"_AppInstaller_AddChild2.relativeTo");
- result[7] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return contentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild3.relativeTo = param1;
- },"_AppInstaller_AddChild3.relativeTo");
- result[8] = binding;
- binding = new Binding(this,function():IFlexDisplayObject
- {
- return openButton;
- },function(param1:IFlexDisplayObject):void
- {
- _AppInstaller_VBox2.defaultButton = param1;
- },"_AppInstaller_VBox2.defaultButton");
- result[9] = binding;
- binding = new Binding(this,function():String
- {
- var _loc1_:* = undefined;
- var _loc2_:* = undefined;
- _loc1_ = record.filename;
- return _loc1_ == undefined ? null : String(_loc1_);
- },function(param1:String):void
- {
- _AppInstaller_Label1.text = param1;
- },"_AppInstaller_Label1.text");
- result[10] = binding;
- binding = new Binding(this,function():String
- {
- var _loc1_:* = undefined;
- var _loc2_:* = undefined;
- _loc1_ = record.fileFrom;
- return _loc1_ == undefined ? null : String(_loc1_);
- },function(param1:String):void
- {
- _AppInstaller_Label2.text = param1;
- },"_AppInstaller_Label2.text");
- result[11] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty4.target = param1;
- },"_AppInstaller_SetProperty4.target");
- result[12] = binding;
- binding = new Binding(this,function():Object
- {
- return iconImage;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty5.target = param1;
- },"_AppInstaller_SetProperty5.target");
- result[13] = binding;
- binding = new Binding(this,function():*
- {
- return redSecurityIcon;
- },function(param1:*):void
- {
- _AppInstaller_SetProperty5.value = param1;
- },"_AppInstaller_SetProperty5.value");
- result[14] = binding;
- binding = new Binding(this,function():Object
- {
- return securityInfo;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty6.target = param1;
- },"_AppInstaller_SetProperty6.target");
- result[15] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return contentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild4.relativeTo = param1;
- },"_AppInstaller_AddChild4.relativeTo");
- result[16] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return contentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild5.relativeTo = param1;
- },"_AppInstaller_AddChild5.relativeTo");
- result[17] = binding;
- binding = new Binding(this,function():IFlexDisplayObject
- {
- return cancelButton;
- },function(param1:IFlexDisplayObject):void
- {
- securityContent.defaultButton = param1;
- },"securityContent.defaultButton");
- result[18] = binding;
- binding = new Binding(this,function():String
- {
- var _loc1_:* = undefined;
- var _loc2_:* = undefined;
- _loc1_ = record.app.name;
- return _loc1_ == undefined ? null : String(_loc1_);
- },function(param1:String):void
- {
- _AppInstaller_Label3.text = param1;
- },"_AppInstaller_Label3.text");
- result[19] = binding;
- binding = new Binding(this,function():Object
- {
- return securityHeader;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty7.target = param1;
- },"_AppInstaller_SetProperty7.target");
- result[20] = binding;
- binding = new Binding(this,function():Object
- {
- return securityContent;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty8.target = param1;
- },"_AppInstaller_SetProperty8.target");
- result[21] = binding;
- binding = new Binding(this,function():*
- {
- return installButton;
- },function(param1:*):void
- {
- _AppInstaller_SetProperty8.value = param1;
- },"_AppInstaller_SetProperty8.value");
- result[22] = binding;
- binding = new Binding(this,function():Object
- {
- return iconImage;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty9.target = param1;
- },"_AppInstaller_SetProperty9.target");
- result[23] = binding;
- binding = new Binding(this,function():*
- {
- return yellowSecurityIcon;
- },function(param1:*):void
- {
- _AppInstaller_SetProperty9.value = param1;
- },"_AppInstaller_SetProperty9.value");
- result[24] = binding;
- binding = new Binding(this,function():Object
- {
- return securityInfo;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty10.target = param1;
- },"_AppInstaller_SetProperty10.target");
- result[25] = binding;
- binding = new Binding(this,function():Object
- {
- return securityInfo;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty11.target = param1;
- },"_AppInstaller_SetProperty11.target");
- result[26] = binding;
- binding = new Binding(this,function():Object
- {
- return verifiedLabel;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty12.target = param1;
- },"_AppInstaller_SetProperty12.target");
- result[27] = binding;
- binding = new Binding(this,function():*
- {
- return null;
- },function(param1:*):void
- {
- _AppInstaller_SetProperty12.value = param1;
- },"_AppInstaller_SetProperty12.value");
- result[28] = binding;
- binding = new Binding(this,function():Object
- {
- return verifiedLabel;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty13.target = param1;
- },"_AppInstaller_SetProperty13.target");
- result[29] = binding;
- binding = new Binding(this,function():*
- {
- return record.app.publisher;
- },function(param1:*):void
- {
- _AppInstaller_SetProperty13.value = param1;
- },"_AppInstaller_SetProperty13.value");
- result[30] = binding;
- binding = new Binding(this,function():Object
- {
- return installButton;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty14.target = param1;
- },"_AppInstaller_SetProperty14.target");
- result[31] = binding;
- binding = new Binding(this,function():Object
- {
- return cancelButton;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty15.target = param1;
- },"_AppInstaller_SetProperty15.target");
- result[32] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty16.target = param1;
- },"_AppInstaller_SetProperty16.target");
- result[33] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return contentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild6.relativeTo = param1;
- },"_AppInstaller_AddChild6.relativeTo");
- result[34] = binding;
- binding = new Binding(this,function():IFlexDisplayObject
- {
- return continueButton;
- },function(param1:IFlexDisplayObject):void
- {
- PrefsVBox.defaultButton = param1;
- },"PrefsVBox.defaultButton");
- result[35] = binding;
- binding = new Binding(this,function():Boolean
- {
- return showDescription;
- },function(param1:Boolean):void
- {
- _AppInstaller_LocalizedLabel6.includeInLayout = param1;
- },"_AppInstaller_LocalizedLabel6.includeInLayout");
- result[36] = binding;
- binding = new Binding(this,function():Boolean
- {
- return showDescription;
- },function(param1:Boolean):void
- {
- _AppInstaller_LocalizedLabel6.visible = param1;
- },"_AppInstaller_LocalizedLabel6.visible");
- result[37] = binding;
- binding = new Binding(this,function():Boolean
- {
- return showDescription;
- },function(param1:Boolean):void
- {
- _AppInstaller_Text1.includeInLayout = param1;
- },"_AppInstaller_Text1.includeInLayout");
- result[38] = binding;
- binding = new Binding(this,function():Boolean
- {
- return showDescription;
- },function(param1:Boolean):void
- {
- _AppInstaller_Text1.visible = param1;
- },"_AppInstaller_Text1.visible");
- result[39] = binding;
- binding = new Binding(this,function():String
- {
- var _loc1_:* = undefined;
- var _loc2_:* = undefined;
- _loc1_ = record.app.description;
- return _loc1_ == undefined ? null : String(_loc1_);
- },function(param1:String):void
- {
- _AppInstaller_Text1.text = param1;
- },"_AppInstaller_Text1.text");
- result[40] = binding;
- binding = new Binding(this,function():Boolean
- {
- return showDescription;
- },function(param1:Boolean):void
- {
- _AppInstaller_Spacer2.includeInLayout = param1;
- },"_AppInstaller_Spacer2.includeInLayout");
- result[41] = binding;
- binding = new Binding(this,function():Boolean
- {
- return showDescription;
- },function(param1:Boolean):void
- {
- _AppInstaller_Spacer2.visible = param1;
- },"_AppInstaller_Spacer2.visible");
- result[42] = binding;
- binding = new Binding(this,function():String
- {
- var _loc1_:* = undefined;
- var _loc2_:* = undefined;
- _loc1_ = locManager.getString("chkInstallAirRequired");
- return _loc1_ == undefined ? null : String(_loc1_);
- },function(param1:String):void
- {
- installAIRCheckBox.label = param1;
- },"installAIRCheckBox.label");
- result[43] = binding;
- binding = new Binding(this,function():Boolean
- {
- return record.willInstallRuntime;
- },function(param1:Boolean):void
- {
- installAIRCheckBox.selected = param1;
- },"installAIRCheckBox.selected");
- result[44] = binding;
- binding = new Binding(this,function():String
- {
- var _loc1_:* = undefined;
- var _loc2_:* = undefined;
- _loc1_ = locManager.getString("chkAddIconToDesktop");
- return _loc1_ == undefined ? null : String(_loc1_);
- },function(param1:String):void
- {
- addShortcutCheckBox.label = param1;
- },"addShortcutCheckBox.label");
- result[45] = binding;
- binding = new Binding(this,function():Boolean
- {
- return record.prefs.installDesktopShortcut;
- },function(param1:Boolean):void
- {
- addShortcutCheckBox.selected = param1;
- },"addShortcutCheckBox.selected");
- result[46] = binding;
- binding = new Binding(this,function():String
- {
- var _loc1_:* = undefined;
- var _loc2_:* = undefined;
- _loc1_ = locManager.getString("chkStartAppAfterInstall");
- return _loc1_ == undefined ? null : String(_loc1_);
- },function(param1:String):void
- {
- startApplicationCheckBox.label = param1;
- },"startApplicationCheckBox.label");
- result[47] = binding;
- binding = new Binding(this,function():Boolean
- {
- return !record.prefs.forceLaunch;
- },function(param1:Boolean):void
- {
- startApplicationCheckBox.enabled = param1;
- },"startApplicationCheckBox.enabled");
- result[48] = binding;
- binding = new Binding(this,function():Boolean
- {
- return record.prefs.launch;
- },function(param1:Boolean):void
- {
- startApplicationCheckBox.selected = param1;
- },"startApplicationCheckBox.selected");
- result[49] = binding;
- binding = new Binding(this,function():String
- {
- var _loc1_:* = undefined;
- var _loc2_:* = undefined;
- _loc1_ = record.prefs.location;
- return _loc1_ == undefined ? null : String(_loc1_);
- },function(param1:String):void
- {
- _AppInstaller_TextInput1.text = param1;
- },"_AppInstaller_TextInput1.text");
- result[50] = binding;
- binding = new Binding(this,function():DisplayObject
- {
- return installAIRCheckBox;
- },function(param1:DisplayObject):void
- {
- _AppInstaller_RemoveChild1.target = param1;
- },"_AppInstaller_RemoveChild1.target");
- result[51] = binding;
- binding = new Binding(this,function():DisplayObject
- {
- return addShortcutCheckBox;
- },function(param1:DisplayObject):void
- {
- _AppInstaller_RemoveChild2.target = param1;
- },"_AppInstaller_RemoveChild2.target");
- result[52] = binding;
- binding = new Binding(this,function():DisplayObject
- {
- return installAIRCheckBox;
- },function(param1:DisplayObject):void
- {
- _AppInstaller_RemoveChild3.target = param1;
- },"_AppInstaller_RemoveChild3.target");
- result[53] = binding;
- binding = new Binding(this,function():DisplayObject
- {
- return addShortcutCheckBox;
- },function(param1:DisplayObject):void
- {
- _AppInstaller_RemoveChild4.target = param1;
- },"_AppInstaller_RemoveChild4.target");
- result[54] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty17.target = param1;
- },"_AppInstaller_SetProperty17.target");
- result[55] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return contentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild7.relativeTo = param1;
- },"_AppInstaller_AddChild7.relativeTo");
- result[56] = binding;
- binding = new Binding(this,function():Object
- {
- return iconImage;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty18.target = param1;
- },"_AppInstaller_SetProperty18.target");
- result[57] = binding;
- binding = new Binding(this,function():*
- {
- return airIcon;
- },function(param1:*):void
- {
- _AppInstaller_SetProperty18.value = param1;
- },"_AppInstaller_SetProperty18.value");
- result[58] = binding;
- binding = new Binding(this,function():Object
- {
- return eula;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty19.target = param1;
- },"_AppInstaller_SetProperty19.target");
- result[59] = binding;
- binding = new Binding(this,function():Object
- {
- return eula;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty20.target = param1;
- },"_AppInstaller_SetProperty20.target");
- result[60] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty21.target = param1;
- },"_AppInstaller_SetProperty21.target");
- result[61] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return contentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild8.relativeTo = param1;
- },"_AppInstaller_AddChild8.relativeTo");
- result[62] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty22.target = param1;
- },"_AppInstaller_SetProperty22.target");
- result[63] = binding;
- binding = new Binding(this,function():DisplayObject
- {
- return titleLabel;
- },function(param1:DisplayObject):void
- {
- _AppInstaller_RemoveChild5.target = param1;
- },"_AppInstaller_RemoveChild5.target");
- result[64] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return contentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild9.relativeTo = param1;
- },"_AppInstaller_AddChild9.relativeTo");
- result[65] = binding;
- binding = new Binding(this,function():Array
- {
- return [record.filename];
- },function(param1:Array):void
- {
- _AppInstaller_LocalizedLabel10.resourceParams = param1;
- },"_AppInstaller_LocalizedLabel10.resourceParams");
- result[66] = binding;
- binding = new Binding(this,function():Object
- {
- return progressLabel;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty23.target = param1;
- },"_AppInstaller_SetProperty23.target");
- result[67] = binding;
- binding = new Binding(this,function():Object
- {
- return progressLabel;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty24.target = param1;
- },"_AppInstaller_SetProperty24.target");
- result[68] = binding;
- binding = new Binding(this,function():Object
- {
- return progressLabel;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty25.target = param1;
- },"_AppInstaller_SetProperty25.target");
- result[69] = binding;
- binding = new Binding(this,function():Object
- {
- return progressLabel;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty26.target = param1;
- },"_AppInstaller_SetProperty26.target");
- result[70] = binding;
- binding = new Binding(this,function():Object
- {
- return progressLabel;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty27.target = param1;
- },"_AppInstaller_SetProperty27.target");
- result[71] = binding;
- binding = new Binding(this,function():Object
- {
- return progressLabel;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty28.target = param1;
- },"_AppInstaller_SetProperty28.target");
- result[72] = binding;
- binding = new Binding(this,function():Object
- {
- return progressLabel;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty29.target = param1;
- },"_AppInstaller_SetProperty29.target");
- result[73] = binding;
- binding = new Binding(this,function():DisplayObject
- {
- return progressCancel;
- },function(param1:DisplayObject):void
- {
- _AppInstaller_RemoveChild6.target = param1;
- },"_AppInstaller_RemoveChild6.target");
- result[74] = binding;
- binding = new Binding(this,function():Object
- {
- return progressLabel;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty30.target = param1;
- },"_AppInstaller_SetProperty30.target");
- result[75] = binding;
- binding = new Binding(this,function():DisplayObject
- {
- return progressCancel;
- },function(param1:DisplayObject):void
- {
- _AppInstaller_RemoveChild7.target = param1;
- },"_AppInstaller_RemoveChild7.target");
- result[76] = binding;
- binding = new Binding(this,function():Object
- {
- return progressLabel;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty31.target = param1;
- },"_AppInstaller_SetProperty31.target");
- result[77] = binding;
- binding = new Binding(this,function():DisplayObject
- {
- return progressCancel;
- },function(param1:DisplayObject):void
- {
- _AppInstaller_RemoveChild8.target = param1;
- },"_AppInstaller_RemoveChild8.target");
- result[78] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty32.target = param1;
- },"_AppInstaller_SetProperty32.target");
- result[79] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return contentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild10.relativeTo = param1;
- },"_AppInstaller_AddChild10.relativeTo");
- result[80] = binding;
- binding = new Binding(this,function():IFlexDisplayObject
- {
- return finishButton;
- },function(param1:IFlexDisplayObject):void
- {
- _AppInstaller_VBox7.defaultButton = param1;
- },"_AppInstaller_VBox7.defaultButton");
- result[81] = binding;
- binding = new Binding(this,function():String
- {
- var _loc1_:* = undefined;
- var _loc2_:* = undefined;
- _loc1_ = doneLabelResourceName;
- return _loc1_ == undefined ? null : String(_loc1_);
- },function(param1:String):void
- {
- doneLabel.resourceName = param1;
- },"doneLabel.resourceName");
- result[82] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty34.target = param1;
- },"_AppInstaller_SetProperty34.target");
- result[83] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty35.target = param1;
- },"_AppInstaller_SetProperty35.target");
- result[84] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty36.target = param1;
- },"_AppInstaller_SetProperty36.target");
- result[85] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return contentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild11.relativeTo = param1;
- },"_AppInstaller_AddChild11.relativeTo");
- result[86] = binding;
- binding = new Binding(this,function():String
- {
- var _loc1_:* = undefined;
- var _loc2_:* = undefined;
- _loc1_ = errorText;
- return _loc1_ == undefined ? null : String(_loc1_);
- },function(param1:String):void
- {
- _AppInstaller_Text2.text = param1;
- },"_AppInstaller_Text2.text");
- result[87] = binding;
- binding = new Binding(this,function():String
- {
- var _loc1_:* = undefined;
- var _loc2_:* = undefined;
- _loc1_ = errorIDText;
- return _loc1_ == undefined ? null : String(_loc1_);
- },function(param1:String):void
- {
- _AppInstaller_Text3.text = param1;
- },"_AppInstaller_Text3.text");
- result[88] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty37.target = param1;
- },"_AppInstaller_SetProperty37.target");
- result[89] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return contentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild12.relativeTo = param1;
- },"_AppInstaller_AddChild12.relativeTo");
- result[90] = binding;
- binding = new Binding(this,function():IFlexDisplayObject
- {
- return runButton;
- },function(param1:IFlexDisplayObject):void
- {
- updateSameVerContentBox.defaultButton = param1;
- },"updateSameVerContentBox.defaultButton");
- result[91] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty38.target = param1;
- },"_AppInstaller_SetProperty38.target");
- result[92] = binding;
- binding = new Binding(this,function():Object
- {
- return updateMsgText;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty39.target = param1;
- },"_AppInstaller_SetProperty39.target");
- result[93] = binding;
- binding = new Binding(this,function():Object
- {
- return updateSameVerContentBox;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty40.target = param1;
- },"_AppInstaller_SetProperty40.target");
- result[94] = binding;
- binding = new Binding(this,function():*
- {
- return updateSameVerCancelButton;
- },function(param1:*):void
- {
- _AppInstaller_SetProperty40.value = param1;
- },"_AppInstaller_SetProperty40.value");
- result[95] = binding;
- binding = new Binding(this,function():Object
- {
- return runButton;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty41.target = param1;
- },"_AppInstaller_SetProperty41.target");
- result[96] = binding;
- binding = new Binding(this,function():Object
- {
- return uninstallSame;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty42.target = param1;
- },"_AppInstaller_SetProperty42.target");
- result[97] = binding;
- binding = new Binding(this,function():Object
- {
- return runButton;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty43.target = param1;
- },"_AppInstaller_SetProperty43.target");
- result[98] = binding;
- binding = new Binding(this,function():Object
- {
- return updateSameVerCancelButton;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty44.target = param1;
- },"_AppInstaller_SetProperty44.target");
- result[99] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty45.target = param1;
- },"_AppInstaller_SetProperty45.target");
- result[100] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return contentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild13.relativeTo = param1;
- },"_AppInstaller_AddChild13.relativeTo");
- result[101] = binding;
- binding = new Binding(this,function():IFlexDisplayObject
- {
- return updateDiffCancelButton;
- },function(param1:IFlexDisplayObject):void
- {
- updateDiffVerContentBox.defaultButton = param1;
- },"updateDiffVerContentBox.defaultButton");
- result[102] = binding;
- binding = new Binding(this,function():String
- {
- var _loc1_:* = undefined;
- var _loc2_:* = undefined;
- _loc1_ = record.installed.version;
- return _loc1_ == undefined ? null : String(_loc1_);
- },function(param1:String):void
- {
- _AppInstaller_Label4.text = param1;
- },"_AppInstaller_Label4.text");
- result[103] = binding;
- binding = new Binding(this,function():String
- {
- var _loc1_:* = undefined;
- var _loc2_:* = undefined;
- _loc1_ = record.app.version;
- return _loc1_ == undefined ? null : String(_loc1_);
- },function(param1:String):void
- {
- _AppInstaller_Label5.text = param1;
- },"_AppInstaller_Label5.text");
- result[104] = binding;
- binding = new Binding(this,function():String
- {
- var _loc1_:* = undefined;
- var _loc2_:* = undefined;
- _loc1_ = locManager.getString("btnMoreOptions");
- return _loc1_ == undefined ? null : String(_loc1_);
- },function(param1:String):void
- {
- updateDiffLinkButton.label = param1;
- },"updateDiffLinkButton.label");
- result[105] = binding;
- binding = new Binding(this,function():Object
- {
- return updateDiffText;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty46.target = param1;
- },"_AppInstaller_SetProperty46.target");
- result[106] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty47.target = param1;
- },"_AppInstaller_SetProperty47.target");
- result[107] = binding;
- binding = new Binding(this,function():DisplayObject
- {
- return updateDiffLinkButton;
- },function(param1:DisplayObject):void
- {
- _AppInstaller_RemoveChild9.target = param1;
- },"_AppInstaller_RemoveChild9.target");
- result[108] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return updateDiffVerContentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild14.relativeTo = param1;
- },"_AppInstaller_AddChild14.relativeTo");
- result[109] = binding;
- binding = new Binding(this,function():Object
- {
- return updateDiffVersionForm;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty48.target = param1;
- },"_AppInstaller_SetProperty48.target");
- result[110] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty49.target = param1;
- },"_AppInstaller_SetProperty49.target");
- result[111] = binding;
- binding = new Binding(this,function():DisplayObject
- {
- return updateDiffVersionForm;
- },function(param1:DisplayObject):void
- {
- _AppInstaller_RemoveChild10.target = param1;
- },"_AppInstaller_RemoveChild10.target");
- result[112] = binding;
- binding = new Binding(this,function():DisplayObject
- {
- return updateDiffLinkButton;
- },function(param1:DisplayObject):void
- {
- _AppInstaller_RemoveChild11.target = param1;
- },"_AppInstaller_RemoveChild11.target");
- result[113] = binding;
- binding = new Binding(this,function():DisplayObject
- {
- return updateDiffHRule;
- },function(param1:DisplayObject):void
- {
- _AppInstaller_RemoveChild12.target = param1;
- },"_AppInstaller_RemoveChild12.target");
- result[114] = binding;
- binding = new Binding(this,function():DisplayObject
- {
- return updateDiffBotSpacer;
- },function(param1:DisplayObject):void
- {
- _AppInstaller_RemoveChild13.target = param1;
- },"_AppInstaller_RemoveChild13.target");
- result[115] = binding;
- binding = new Binding(this,function():Object
- {
- return updateDiffText;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty50.target = param1;
- },"_AppInstaller_SetProperty50.target");
- result[116] = binding;
- binding = new Binding(this,function():Object
- {
- return updateDiffReplaceButton;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty51.target = param1;
- },"_AppInstaller_SetProperty51.target");
- result[117] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return updateDiffMidSpacer;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild15.relativeTo = param1;
- },"_AppInstaller_AddChild15.relativeTo");
- result[118] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty52.target = param1;
- },"_AppInstaller_SetProperty52.target");
- result[119] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return contentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild16.relativeTo = param1;
- },"_AppInstaller_AddChild16.relativeTo");
- result[120] = binding;
- binding = new Binding(this,function():IFlexDisplayObject
- {
- return uninstallCancelButton;
- },function(param1:IFlexDisplayObject):void
- {
- uninstallContentBox.defaultButton = param1;
- },"uninstallContentBox.defaultButton");
- result[121] = binding;
- binding = new Binding(this,function():Object
- {
- return uninstallLabel;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty53.target = param1;
- },"_AppInstaller_SetProperty53.target");
- result[122] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty54.target = param1;
- },"_AppInstaller_SetProperty54.target");
- result[123] = binding;
- binding = new Binding(this,function():Object
- {
- return uninstallLabel;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty55.target = param1;
- },"_AppInstaller_SetProperty55.target");
- result[124] = binding;
- binding = new Binding(this,function():Object
- {
- return uninstallButton;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty56.target = param1;
- },"_AppInstaller_SetProperty56.target");
- result[125] = binding;
- binding = new Binding(this,function():Object
- {
- return this;
- },function(param1:Object):void
- {
- _AppInstaller_SetProperty57.target = param1;
- },"_AppInstaller_SetProperty57.target");
- result[126] = binding;
- binding = new Binding(this,function():UIComponent
- {
- return contentBox;
- },function(param1:UIComponent):void
- {
- _AppInstaller_AddChild17.relativeTo = param1;
- },"_AppInstaller_AddChild17.relativeTo");
- result[127] = binding;
- return result;
- }
-
- [Bindable(event="propertyChange")]
- public function get uninstallSame() : LocalizedButton
- {
- return this._805692312uninstallSame;
- }
-
- private function _AppInstaller_State5_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Security_Verified";
- _loc1_.basedOn = "Security";
- _loc1_.overrides = [this._AppInstaller_SetProperty7_i(),this._AppInstaller_SetProperty8_i(),this._AppInstaller_SetProperty9_i(),this._AppInstaller_SetProperty10_i(),this._AppInstaller_SetProperty11_i(),this._AppInstaller_SetProperty12_i(),this._AppInstaller_SetProperty13_i(),this._AppInstaller_SetProperty14_i(),this._AppInstaller_SetProperty15_i()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State5_enterState);
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty24_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty24 = _loc1_;
- _loc1_.name = "resourceName";
- _loc1_.value = "progressWait";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty24",this._AppInstaller_SetProperty24);
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty47_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty47 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 314;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty47",this._AppInstaller_SetProperty47);
- return _loc1_;
- }
-
- public function get showAppIcon() : Boolean
- {
- return this._showAppIcon;
- }
-
- public function __runButton_click(param1:MouseEvent) : void
- {
- this.onLaunch();
- }
-
- private function _AppInstaller_ProgressBar1_i() : ProgressBar
- {
- var _loc1_:ProgressBar = new ProgressBar();
- this.progressBar = _loc1_;
- _loc1_.percentWidth = 90;
- _loc1_.label = "";
- _loc1_.mode = "manual";
- _loc1_.id = "progressBar";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty4_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty4 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 364;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty4",this._AppInstaller_SetProperty4);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get doneLabel() : LocalizedLabel
- {
- return this._1627475090doneLabel;
- }
-
- private function _AppInstaller_LocalizedLabel4_i() : LocalizedLabel
- {
- var _loc1_:LocalizedLabel = new LocalizedLabel();
- this.verifiedLabel = _loc1_;
- _loc1_.resourceName = "lblPublisherUNKNOWN";
- _loc1_.styleName = "formItemText";
- _loc1_.maxWidth = 240;
- _loc1_.id = "verifiedLabel";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_Text1_i() : Text
- {
- var _loc1_:Text = new Text();
- this._AppInstaller_Text1 = _loc1_;
- _loc1_.percentWidth = 100;
- _loc1_.id = "_AppInstaller_Text1";
- BindingManager.executeBindings(this,"_AppInstaller_Text1",this._AppInstaller_Text1);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_AddChild9_i() : AddChild
- {
- var _loc1_:AddChild = new AddChild();
- this._AppInstaller_AddChild9 = _loc1_;
- _loc1_.position = "firstChild";
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_LocalizedLabel10_i);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild9",this._AppInstaller_AddChild9);
- return _loc1_;
- }
-
- public function set leftBox(param1:Canvas) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._55415876leftBox;
- if(_loc2_ !== param1)
- {
- this._55415876leftBox = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"leftBox",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_State26_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Update_Same_Disabled";
- _loc1_.basedOn = "Update_Same_Ver";
- _loc1_.overrides = [this._AppInstaller_SetProperty38_i(),this._AppInstaller_SetProperty39_i(),this._AppInstaller_SetProperty40_i(),this._AppInstaller_SetProperty41_i(),this._AppInstaller_SetProperty42_i(),this._AppInstaller_SetProperty43_i(),this._AppInstaller_SetProperty44_i()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State26_enterState);
- return _loc1_;
- }
-
- private function _AppInstaller_VBox12_i() : VBox
- {
- var _loc1_:VBox = new VBox();
- this.updateDiffVerContentBox = _loc1_;
- _loc1_.styleName = "contentBox";
- _loc1_.percentWidth = 100;
- _loc1_.percentHeight = 100;
- _loc1_.setStyle("verticalAlign","top");
- _loc1_.id = "updateDiffVerContentBox";
- BindingManager.executeBindings(this,"updateDiffVerContentBox",this.updateDiffVerContentBox);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedText3_i());
- _loc1_.addChild(this._AppInstaller_Form3_i());
- _loc1_.addChild(this._AppInstaller_Spacer10_i());
- _loc1_.addChild(this._AppInstaller_OSButtonBarHBox6_c());
- _loc1_.addChild(this._AppInstaller_Spacer11_i());
- _loc1_.addChild(this._AppInstaller_HRule1_i());
- _loc1_.addChild(this._AppInstaller_LinkButton1_i());
- return _loc1_;
- }
-
- public function set cancelButton(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1990131276cancelButton;
- if(_loc2_ !== param1)
- {
- this._1990131276cancelButton = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"cancelButton",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_SetProperty12_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty12 = _loc1_;
- _loc1_.name = "resourceName";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty12",this._AppInstaller_SetProperty12);
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty35_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty35 = _loc1_;
- _loc1_.name = "doneLabelResourceName";
- _loc1_.value = "msgInstCancelled";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty35",this._AppInstaller_SetProperty35);
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedButton11_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- this.uninstallSame = _loc1_;
- _loc1_.resourceName = "btnUninstall";
- _loc1_.addEventListener("click",this.__uninstallSame_click);
- _loc1_.id = "uninstallSame";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_State14_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "ProgressDownloading";
- _loc1_.basedOn = "Progress";
- _loc1_.overrides = [this._AppInstaller_SetProperty24_i()];
- return _loc1_;
- }
-
- public function ___AppInstaller_State31_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.uninstallCancelButton);
- }
-
- private function _AppInstaller_LocalizedFormItem8_c() : LocalizedFormItem
- {
- var _loc1_:LocalizedFormItem = new LocalizedFormItem();
- _loc1_.resourceName = "lblVersionToInstall";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_Label5_i());
- return _loc1_;
- }
-
- private function wfoSelect(param1:Event) : void
- {
- this.record.file = this.fileToOpen.nativePath;
- this.events.dispatchEvent(new Event("appinstall.complete"));
- }
-
- private function _AppInstaller_AddChild12_i() : AddChild
- {
- var _loc1_:AddChild = new AddChild();
- this._AppInstaller_AddChild12 = _loc1_;
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_VBox11_i);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild12",this._AppInstaller_AddChild12);
- return _loc1_;
- }
-
- private function set record(param1:ObjectProxy) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._934908847record;
- if(_loc2_ !== param1)
- {
- this._934908847record = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"record",_loc2_,param1));
- }
- }
-
- public function set uninstallCancelButton(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._47200334uninstallCancelButton;
- if(_loc2_ !== param1)
- {
- this._47200334uninstallCancelButton = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"uninstallCancelButton",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_LocalizedLabel3_c() : LocalizedLabel
- {
- var _loc1_:LocalizedLabel = new LocalizedLabel();
- _loc1_.resourceName = "lblApplicationSetup";
- _loc1_.styleName = "formItemText";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty3_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty3 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 200;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty3",this._AppInstaller_SetProperty3);
- return _loc1_;
- }
-
- private function _AppInstaller_State4_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Security";
- _loc1_.overrides = [this._AppInstaller_SetProperty4_i(),this._AppInstaller_SetProperty5_i(),this._AppInstaller_SetProperty6_i(),this._AppInstaller_AddChild4_i(),this._AppInstaller_AddChild5_i()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State4_enterState);
- return _loc1_;
- }
-
- public function set updateAppsRunning(param1:TextArea) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1318708836updateAppsRunning;
- if(_loc2_ !== param1)
- {
- this._1318708836updateAppsRunning = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateAppsRunning",_loc2_,param1));
- }
- }
-
- private function onKeyDown(param1:KeyboardEvent) : void
- {
- var cb:Button = null;
- var event:KeyboardEvent = param1;
- if(event.keyCode == Keyboard.ESCAPE)
- {
- event.preventDefault();
- stage.nativeWindow.close();
- }
- else if(Capabilities.os.indexOf("Mac") != -1 && Boolean(event.commandKey) && event.keyCode == Keyboard.PERIOD)
- {
- event.preventDefault();
- cb = null;
- switch(currentState)
- {
- case "Open_Save_Dialog":
- cb = this.dialogCancel;
- break;
- case "Security":
- case "Security_Verified":
- cb = this.cancelButton;
- break;
- case "Prefs_Full_Win":
- case "Prefs_Win":
- case "Prefs_Full_Mac":
- case "Prefs_Mac":
- cb = this.prefsCancel;
- break;
- case "EULA":
- case "FirstLaunchEULA":
- cb = this.eula.cancelButton;
- break;
- case "Progress":
- case "ProgressDownloading":
- case "ProgressInit":
- case "ProgressInstall":
- case "ProgressUninstall":
- case "ProgressUpdate":
- cb = this.progressCancel;
- break;
- case "Update_Same_Ver":
- case "Update_Same_Disabled":
- cb = this.updateSameVerCancelButton;
- break;
- case "Update_Diff_Ver":
- case "Update_Diff_More":
- case "Update_Diff_Disabled":
- cb = this.updateDiffCancelButton;
- break;
- case "Uninstall":
- case "Uninstall_Disabled":
- cb = this.uninstallCancelButton;
- break;
- case "WaitingForApps":
- cb = this.waitingCancel;
- }
- if(cb != null)
- {
- event.preventDefault();
- cb.setFocus();
- cb.dispatchEvent(new KeyboardEvent(KeyboardEvent.KEY_DOWN,false,false,Keyboard.SPACE,Keyboard.SPACE));
- this.buttonKeyPressTimer = new Timer(100,1);
- this.buttonKeyPressTimer.addEventListener(TimerEvent.TIMER_COMPLETE,function(param1:TimerEvent):void
- {
- cb.dispatchEvent(new KeyboardEvent(KeyboardEvent.KEY_UP,false,false,Keyboard.SPACE,Keyboard.SPACE));
- });
- this.buttonKeyPressTimer.start();
- }
- }
- }
-
- private function _AppInstaller_EULA1_i() : EULA
- {
- var _loc1_:EULA = new EULA();
- this.eula = _loc1_;
- _loc1_.percentWidth = 100;
- _loc1_.percentHeight = 100;
- _loc1_.header = "titleAirRequired";
- _loc1_.addEventListener("agree",this.__eula_agree);
- _loc1_.addEventListener("cancel",this.__eula_cancel);
- _loc1_.id = "eula";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_Spacer15_c() : Spacer
- {
- var _loc1_:Spacer = null;
- _loc1_ = new Spacer();
- _loc1_.height = 14;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_AddChild8_i() : AddChild
- {
- var _loc1_:AddChild = new AddChild();
- this._AppInstaller_AddChild8 = _loc1_;
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_VBox6_i);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild8",this._AppInstaller_AddChild8);
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedButton9_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- this.finishButton = _loc1_;
- _loc1_.resourceName = "btnFinish";
- _loc1_.styleName = "defaultButton";
- _loc1_.addEventListener("click",this.__finishButton_click);
- _loc1_.id = "finishButton";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty46_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty46 = _loc1_;
- _loc1_.name = "resourceName";
- _loc1_.value = "msgAppExistReplace";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty46",this._AppInstaller_SetProperty46);
- return _loc1_;
- }
-
- public function set iconImage(param1:Image) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1410965406iconImage;
- if(_loc2_ !== param1)
- {
- this._1410965406iconImage = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"iconImage",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_Spacer16_c() : Spacer
- {
- var _loc1_:Spacer = null;
- _loc1_ = new Spacer();
- _loc1_.percentHeight = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- private function get record() : ObjectProxy
- {
- return this._934908847record;
- }
-
- private function _AppInstaller_LocalizedButton10_c() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- _loc1_.resourceName = "btnClose";
- _loc1_.addEventListener("click",this.___AppInstaller_LocalizedButton10_click);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function onOpen() : void
- {
- currentState = "ProgressInit";
- this.record.prefs.action = "install";
- this.events.dispatchEvent(new Event("appinstall.complete"));
- }
-
- private function _AppInstaller_bindingExprs() : void
- {
- var _loc1_:* = undefined;
- _loc1_ = this.record.app.description.length > 0;
- _loc1_ = this.appIconBG;
- _loc1_ = this;
- _loc1_ = this.contentBox;
- _loc1_ = this.record.app.name;
- _loc1_ = this;
- _loc1_ = this;
- _loc1_ = this.contentBox;
- _loc1_ = this.contentBox;
- _loc1_ = this.openButton;
- _loc1_ = this.record.filename;
- _loc1_ = this.record.fileFrom;
- _loc1_ = this;
- _loc1_ = this.iconImage;
- _loc1_ = this.redSecurityIcon;
- _loc1_ = this.securityInfo;
- _loc1_ = this.contentBox;
- _loc1_ = this.contentBox;
- _loc1_ = this.cancelButton;
- _loc1_ = this.record.app.name;
- _loc1_ = this.securityHeader;
- _loc1_ = this.securityContent;
- _loc1_ = this.installButton;
- _loc1_ = this.iconImage;
- _loc1_ = this.yellowSecurityIcon;
- _loc1_ = this.securityInfo;
- _loc1_ = this.securityInfo;
- _loc1_ = this.verifiedLabel;
- _loc1_ = null;
- _loc1_ = this.verifiedLabel;
- _loc1_ = this.record.app.publisher;
- _loc1_ = this.installButton;
- _loc1_ = this.cancelButton;
- _loc1_ = this;
- _loc1_ = this.contentBox;
- _loc1_ = this.continueButton;
- _loc1_ = this.showDescription;
- _loc1_ = this.showDescription;
- _loc1_ = this.showDescription;
- _loc1_ = this.showDescription;
- _loc1_ = this.record.app.description;
- _loc1_ = this.showDescription;
- _loc1_ = this.showDescription;
- _loc1_ = locManager.getString("chkInstallAirRequired");
- _loc1_ = this.record.willInstallRuntime;
- _loc1_ = locManager.getString("chkAddIconToDesktop");
- _loc1_ = this.record.prefs.installDesktopShortcut;
- _loc1_ = locManager.getString("chkStartAppAfterInstall");
- _loc1_ = !this.record.prefs.forceLaunch;
- _loc1_ = this.record.prefs.launch;
- _loc1_ = this.record.prefs.location;
- _loc1_ = this.installAIRCheckBox;
- _loc1_ = this.addShortcutCheckBox;
- _loc1_ = this.installAIRCheckBox;
- _loc1_ = this.addShortcutCheckBox;
- _loc1_ = this;
- _loc1_ = this.contentBox;
- _loc1_ = this.iconImage;
- _loc1_ = this.airIcon;
- _loc1_ = this.eula;
- _loc1_ = this.eula;
- _loc1_ = this;
- _loc1_ = this.contentBox;
- _loc1_ = this;
- _loc1_ = this.titleLabel;
- _loc1_ = this.contentBox;
- _loc1_ = [this.record.filename];
- _loc1_ = this.progressLabel;
- _loc1_ = this.progressLabel;
- _loc1_ = this.progressLabel;
- _loc1_ = this.progressLabel;
- _loc1_ = this.progressLabel;
- _loc1_ = this.progressLabel;
- _loc1_ = this.progressLabel;
- _loc1_ = this.progressCancel;
- _loc1_ = this.progressLabel;
- _loc1_ = this.progressCancel;
- _loc1_ = this.progressLabel;
- _loc1_ = this.progressCancel;
- _loc1_ = this;
- _loc1_ = this.contentBox;
- _loc1_ = this.finishButton;
- _loc1_ = this.doneLabelResourceName;
- _loc1_ = this;
- _loc1_ = this;
- _loc1_ = this;
- _loc1_ = this.contentBox;
- _loc1_ = this.errorText;
- _loc1_ = this.errorIDText;
- _loc1_ = this;
- _loc1_ = this.contentBox;
- _loc1_ = this.runButton;
- _loc1_ = this;
- _loc1_ = this.updateMsgText;
- _loc1_ = this.updateSameVerContentBox;
- _loc1_ = this.updateSameVerCancelButton;
- _loc1_ = this.runButton;
- _loc1_ = this.uninstallSame;
- _loc1_ = this.runButton;
- _loc1_ = this.updateSameVerCancelButton;
- _loc1_ = this;
- _loc1_ = this.contentBox;
- _loc1_ = this.updateDiffCancelButton;
- _loc1_ = this.record.installed.version;
- _loc1_ = this.record.app.version;
- _loc1_ = locManager.getString("btnMoreOptions");
- _loc1_ = this.updateDiffText;
- _loc1_ = this;
- _loc1_ = this.updateDiffLinkButton;
- _loc1_ = this.updateDiffVerContentBox;
- _loc1_ = this.updateDiffVersionForm;
- _loc1_ = this;
- _loc1_ = this.updateDiffVersionForm;
- _loc1_ = this.updateDiffLinkButton;
- _loc1_ = this.updateDiffHRule;
- _loc1_ = this.updateDiffBotSpacer;
- _loc1_ = this.updateDiffText;
- _loc1_ = this.updateDiffReplaceButton;
- _loc1_ = this.updateDiffMidSpacer;
- _loc1_ = this;
- _loc1_ = this.contentBox;
- _loc1_ = this.uninstallCancelButton;
- _loc1_ = this.uninstallLabel;
- _loc1_ = this;
- _loc1_ = this.uninstallLabel;
- _loc1_ = this.uninstallButton;
- _loc1_ = this;
- _loc1_ = this.contentBox;
- }
-
- public function set installAIRCheckBox(param1:CheckBox) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._476780146installAIRCheckBox;
- if(_loc2_ !== param1)
- {
- this._476780146installAIRCheckBox = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"installAIRCheckBox",_loc2_,param1));
- }
- }
-
- [Bindable(event="propertyChange")]
- public function get installButton() : LocalizedButton
- {
- return this._2137741485installButton;
- }
-
- private function _AppInstaller_VBox11_i() : VBox
- {
- var _loc1_:VBox = new VBox();
- this.updateSameVerContentBox = _loc1_;
- _loc1_.styleName = "contentBox";
- _loc1_.percentWidth = 100;
- _loc1_.percentHeight = 100;
- _loc1_.setStyle("verticalAlign","middle");
- _loc1_.id = "updateSameVerContentBox";
- BindingManager.executeBindings(this,"updateSameVerContentBox",this.updateSameVerContentBox);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_Spacer7_c());
- _loc1_.addChild(this._AppInstaller_LocalizedText2_i());
- _loc1_.addChild(this._AppInstaller_Spacer8_c());
- _loc1_.addChild(this._AppInstaller_HBox2_c());
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty34_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty34 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 200;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty34",this._AppInstaller_SetProperty34);
- return _loc1_;
- }
-
- public function __uninstallContentBox_creationComplete(param1:FlexEvent) : void
- {
- activate();
- }
-
- private function _AppInstaller_SetProperty23_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty23 = _loc1_;
- _loc1_.name = "resourceName";
- _loc1_.value = "progressWait";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty23",this._AppInstaller_SetProperty23);
- return _loc1_;
- }
-
- private function _AppInstaller_State25_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Update_Same_Ver";
- _loc1_.basedOn = "appNameWithIconBaseState";
- _loc1_.overrides = [this._AppInstaller_SetProperty37_i(),this._AppInstaller_AddChild12_i()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State25_enterState);
- return _loc1_;
- }
-
- public function __dialogCancel_click(param1:MouseEvent) : void
- {
- this.onCancel();
- }
-
- private function _AppInstaller_SetProperty11_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty11 = _loc1_;
- _loc1_.name = "identityVerified";
- _loc1_.value = true;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty11",this._AppInstaller_SetProperty11);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- private function get errorIDText() : String
- {
- return this._1492588304errorIDText;
- }
-
- private function _AppInstaller_LocalizedFormItem7_c() : LocalizedFormItem
- {
- var _loc1_:LocalizedFormItem = new LocalizedFormItem();
- _loc1_.resourceName = "lblInstalledVersion";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_Label4_i());
- return _loc1_;
- }
-
- public function set uninstallSame(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._805692312uninstallSame;
- if(_loc2_ !== param1)
- {
- this._805692312uninstallSame = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"uninstallSame",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_LocalizedText7_c() : LocalizedText
- {
- var _loc1_:LocalizedText = null;
- _loc1_ = new LocalizedText();
- _loc1_.styleName = "h2";
- _loc1_.percentWidth = 100;
- _loc1_.resourceName = "lblCloseListedApp";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_State13_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "ProgressSave";
- _loc1_.basedOn = "Progress";
- _loc1_.overrides = [this._AppInstaller_SetProperty22_i(),this._AppInstaller_RemoveChild5_i(),this._AppInstaller_AddChild9_i(),this._AppInstaller_SetProperty23_i()];
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get addShortcutCheckBox() : CheckBox
- {
- return this._1188010186addShortcutCheckBox;
- }
-
- [Bindable(event="propertyChange")]
- public function get showDescription() : Boolean
- {
- return this._447578303showDescription;
- }
-
- private function _AppInstaller_LocalizedLabel2_c() : LocalizedLabel
- {
- var _loc1_:LocalizedLabel = new LocalizedLabel();
- _loc1_.styleName = "h1";
- _loc1_.resourceName = "msgOpenOrSaveConfirm";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function set showAppIcon(param1:Boolean) : void
- {
- var icon128:String = null;
- var val:Boolean = param1;
- this._showAppIcon = false;
- try
- {
- if(!val || this.record.app.publisher == null)
- {
- this.appIconCanvas.visible = false;
- }
- else
- {
- icon128 = this.record.app.icons["image128x128"];
- if(Boolean(icon128) && PNGHeaderUtil.validatePNGSignature(icon128))
- {
- this.appIconCanvas.visible = true;
- this.appIconImage.sourceFilePath = icon128;
- this._showAppIcon = true;
- }
- else
- {
- this.appIconCanvas.visible = false;
- }
- }
- }
- catch(e:Error)
- {
- appIconCanvas.visible = false;
- }
- }
-
- private function _AppInstaller_State3_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Open_Save_Dialog";
- _loc1_.overrides = [this._AppInstaller_SetProperty3_i(),this._AppInstaller_AddChild2_i(),this._AppInstaller_AddChild3_i()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State3_enterState);
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty45_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty45 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 240;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty45",this._AppInstaller_SetProperty45);
- return _loc1_;
- }
-
- private function _AppInstaller_VBox10_c() : VBox
- {
- var _loc1_:VBox = new VBox();
- _loc1_.percentHeight = 100;
- _loc1_.percentWidth = 100;
- _loc1_.setStyle("verticalAlign","middle");
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedLabel12_c());
- _loc1_.addChild(this._AppInstaller_Text2_i());
- _loc1_.addChild(this._AppInstaller_Text3_i());
- return _loc1_;
- }
-
- public function __startApplicationCheckBox_click(param1:MouseEvent) : void
- {
- this.record.prefs.launch = !this.record.prefs.launch;
- }
-
- private function _AppInstaller_LocalizedButton8_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- this.progressCancel = _loc1_;
- _loc1_.resourceName = "btnCancel";
- _loc1_.addEventListener("click",this.__progressCancel_click);
- _loc1_.id = "progressCancel";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty2_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty2 = _loc1_;
- _loc1_.name = "showAppIcon";
- _loc1_.value = true;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty2",this._AppInstaller_SetProperty2);
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty22_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty22 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 200;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty22",this._AppInstaller_SetProperty22);
- return _loc1_;
- }
-
- private function _AppInstaller_Spacer14_c() : Spacer
- {
- var _loc1_:Spacer = null;
- _loc1_ = new Spacer();
- _loc1_.percentHeight = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_State12_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Progress";
- _loc1_.basedOn = "appNameBaseState";
- _loc1_.overrides = [this._AppInstaller_SetProperty21_i(),this._AppInstaller_AddChild8_i()];
- return _loc1_;
- }
-
- public function ___AppInstaller_State4_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.cancelButton);
- }
-
- private function _AppInstaller_LocalizedFormItem6_c() : LocalizedFormItem
- {
- var _loc1_:LocalizedFormItem = new LocalizedFormItem();
- _loc1_.resourceName = "lblSystemAccess";
- _loc1_.percentWidth = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedLabel5_c());
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty33_c() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- _loc1_.name = "layout";
- _loc1_.value = "horizontal";
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty57_i() : SetProperty
- {
- var _loc1_:SetProperty = null;
- _loc1_ = new SetProperty();
- this._AppInstaller_SetProperty57 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 200;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty57",this._AppInstaller_SetProperty57);
- return _loc1_;
- }
-
- private function _AppInstaller_AddChild7_i() : AddChild
- {
- var _loc1_:AddChild = new AddChild();
- this._AppInstaller_AddChild7 = _loc1_;
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_EULA1_i);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild7",this._AppInstaller_AddChild7);
- return _loc1_;
- }
-
- private function _AppInstaller_RemoveChild9_i() : RemoveChild
- {
- var _loc1_:RemoveChild = new RemoveChild();
- this._AppInstaller_RemoveChild9 = _loc1_;
- BindingManager.executeBindings(this,"_AppInstaller_RemoveChild9",this._AppInstaller_RemoveChild9);
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty10_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty10 = _loc1_;
- _loc1_.name = "currentState";
- _loc1_.value = "opened";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty10",this._AppInstaller_SetProperty10);
- return _loc1_;
- }
-
- public function ___AppInstaller_State7_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.continueButton);
- }
-
- public function ___AppInstaller_State26_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.updateSameVerCancelButton);
- }
-
- [Bindable(event="propertyChange")]
- public function get progressLabel() : LocalizedLabel
- {
- return this._763044039progressLabel;
- }
-
- private function _AppInstaller_State24_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Error";
- _loc1_.basedOn = "appNameBaseState";
- _loc1_.overrides = [this._AppInstaller_SetProperty36_i(),this._AppInstaller_AddChild11_i()];
- return _loc1_;
- }
-
- private function _AppInstaller_AddChild10_i() : AddChild
- {
- var _loc1_:AddChild = new AddChild();
- this._AppInstaller_AddChild10 = _loc1_;
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_VBox7_i);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild10",this._AppInstaller_AddChild10);
- return _loc1_;
- }
-
- private function _AppInstaller_Form3_i() : Form
- {
- var _loc1_:Form = new Form();
- this.updateDiffVersionForm = _loc1_;
- _loc1_.setStyle("paddingBottom",0);
- _loc1_.setStyle("verticalGap",2);
- _loc1_.id = "updateDiffVersionForm";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedFormItem7_c());
- _loc1_.addChild(this._AppInstaller_LocalizedFormItem8_c());
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty56_i() : SetProperty
- {
- var _loc1_:SetProperty = null;
- _loc1_ = new SetProperty();
- this._AppInstaller_SetProperty56 = _loc1_;
- _loc1_.name = "enabled";
- _loc1_.value = false;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty56",this._AppInstaller_SetProperty56);
- return _loc1_;
- }
-
- public function ___AppInstaller_State29_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.updateDiffCancelButton);
- }
-
- private function _AppInstaller_AddChild11_i() : AddChild
- {
- var _loc1_:AddChild = new AddChild();
- this._AppInstaller_AddChild11 = _loc1_;
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_VBox9_c);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild11",this._AppInstaller_AddChild11);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get uninstallContentBox() : VBox
- {
- return this._597697812uninstallContentBox;
- }
-
- [Bindable(event="propertyChange")]
- private function get airIcon() : Class
- {
- return this._992840477airIcon;
- }
-
- private function onCancel() : void
- {
- this.events.dispatchEvent(new Event("appinstall.cancel"));
- }
-
- private function _AppInstaller_HBox3_c() : HBox
- {
- var _loc1_:HBox = new HBox();
- _loc1_.percentWidth = 100;
- _loc1_.percentHeight = 100;
- _loc1_.setStyle("paddingTop",14);
- _loc1_.setStyle("horizontalGap",10);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_Canvas3_c());
- _loc1_.addChild(this._AppInstaller_Canvas4_c());
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty1_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty1 = _loc1_;
- _loc1_.name = "showAppIcon";
- _loc1_.value = false;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty1",this._AppInstaller_SetProperty1);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get updateDiffReplaceButton() : LocalizedButton
- {
- return this._1106646328updateDiffReplaceButton;
- }
-
- private function _AppInstaller_RemoveChild8_i() : RemoveChild
- {
- var _loc1_:RemoveChild = new RemoveChild();
- this._AppInstaller_RemoveChild8 = _loc1_;
- BindingManager.executeBindings(this,"_AppInstaller_RemoveChild8",this._AppInstaller_RemoveChild8);
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty21_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty21 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 200;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty21",this._AppInstaller_SetProperty21);
- return _loc1_;
- }
-
- private function onBrowse() : void
- {
- var file:File = new File();
- if(this.record.prefs.location == "")
- {
- file.nativePath = this.record.prefs.defaultLocation;
- }
- else
- {
- file.nativePath = this.record.prefs.location;
- }
- file.addEventListener(Event.SELECT,function(param1:Event):void
- {
- var _loc2_:File = File(param1.target);
- record.prefs.location = _loc2_.nativePath;
- });
- file.browseForDirectory("");
- }
-
- private function _AppInstaller_Spacer13_c() : Spacer
- {
- var _loc1_:Spacer = null;
- _loc1_ = new Spacer();
- _loc1_.percentHeight = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_AddChild6_i() : AddChild
- {
- var _loc1_:AddChild = new AddChild();
- this._AppInstaller_AddChild6 = _loc1_;
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_VBox4_i);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild6",this._AppInstaller_AddChild6);
- return _loc1_;
- }
-
- private function _AppInstaller_State2_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "appNameWithIconBaseState";
- _loc1_.basedOn = "appNameBaseState";
- _loc1_.overrides = [this._AppInstaller_SetProperty2_i()];
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedLabel1_i() : LocalizedLabel
- {
- var _loc1_:LocalizedLabel = new LocalizedLabel();
- this.titleLabel = _loc1_;
- _loc1_.styleName = "h1";
- _loc1_.condenseWhite = true;
- _loc1_.maxWidth = 350;
- _loc1_.truncateToFit = true;
- _loc1_.id = "titleLabel";
- BindingManager.executeBindings(this,"titleLabel",this.titleLabel);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get securityContent() : VBox
- {
- return this._1622889191securityContent;
- }
-
- private function _AppInstaller_LocalizedText6_i() : LocalizedText
- {
- var _loc1_:LocalizedText = null;
- _loc1_ = new LocalizedText();
- this.uninstallLabel = _loc1_;
- _loc1_.percentWidth = 100;
- _loc1_.useHTML = true;
- _loc1_.id = "uninstallLabel";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedButton7_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- this.prefsCancel = _loc1_;
- _loc1_.resourceName = "btnCancel";
- _loc1_.addEventListener("click",this.__prefsCancel_click);
- _loc1_.id = "prefsCancel";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_State23_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Done_Cancel";
- _loc1_.basedOn = "Done";
- _loc1_.overrides = [this._AppInstaller_SetProperty34_i(),this._AppInstaller_SetProperty35_i()];
- return _loc1_;
- }
-
- private function _AppInstaller_VBox9_c() : VBox
- {
- var _loc1_:VBox = new VBox();
- _loc1_.styleName = "contentBox";
- _loc1_.percentWidth = 100;
- _loc1_.percentHeight = 100;
- _loc1_.setStyle("verticalAlign","middle");
- _loc1_.addEventListener("creationComplete",this.___AppInstaller_VBox9_creationComplete);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_VBox10_c());
- _loc1_.addChild(this._AppInstaller_LocalizedButton10_c());
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty44_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty44 = _loc1_;
- _loc1_.name = "styleName";
- _loc1_.value = "defaultButton";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty44",this._AppInstaller_SetProperty44);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get startApplicationCheckBox() : CheckBox
- {
- return this._732254545startApplicationCheckBox;
- }
-
- private function _AppInstaller_Form2_c() : Form
- {
- var _loc1_:Form = new Form();
- _loc1_.percentWidth = 100;
- _loc1_.setStyle("verticalGap",-2);
- _loc1_.setStyle("paddingTop",0);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedFormItem4_c());
- _loc1_.addChild(this._AppInstaller_LocalizedFormItem5_c());
- _loc1_.addChild(this._AppInstaller_LocalizedFormItem6_c());
- return _loc1_;
- }
-
- public function ___AppInstaller_InstallerApplication1_applicationComplete(param1:FlexEvent) : void
- {
- this.onApplicationComplete();
- }
-
- private function _AppInstaller_State11_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "FirstLaunchEULA";
- _loc1_.basedOn = "EULA";
- _loc1_.overrides = [this._AppInstaller_SetProperty19_i(),this._AppInstaller_SetProperty20_i()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State11_enterState);
- return _loc1_;
- }
-
- public function set contentBox(param1:VBox) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._264524434contentBox;
- if(_loc2_ !== param1)
- {
- this._264524434contentBox = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"contentBox",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_LocalizedButton20_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = null;
- _loc1_ = new LocalizedButton();
- this.waitingCancel = _loc1_;
- _loc1_.resourceName = "btnCancel";
- _loc1_.addEventListener("click",this.__waitingCancel_click);
- _loc1_.id = "waitingCancel";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedFormItem5_c() : LocalizedFormItem
- {
- var _loc1_:LocalizedFormItem = new LocalizedFormItem();
- _loc1_.resourceName = "lblApplication";
- _loc1_.percentWidth = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_Label3_i());
- return _loc1_;
- }
-
- public function set installButton(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._2137741485installButton;
- if(_loc2_ !== param1)
- {
- this._2137741485installButton = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"installButton",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_SetProperty32_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty32 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 200;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty32",this._AppInstaller_SetProperty32);
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty55_i() : SetProperty
- {
- var _loc1_:SetProperty = null;
- _loc1_ = new SetProperty();
- this._AppInstaller_SetProperty55 = _loc1_;
- _loc1_.name = "resourceName";
- _loc1_.value = "msgUninstAppCurrentlyRunning";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty55",this._AppInstaller_SetProperty55);
- return _loc1_;
- }
-
- public function __updateSameVerCancelButton_click(param1:MouseEvent) : void
- {
- this.onCancel();
- }
-
- [Bindable(event="propertyChange")]
- public function get prefsCancel() : LocalizedButton
- {
- return this._180746570prefsCancel;
- }
-
- public function set progressBar(param1:ProgressBar) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1131509414progressBar;
- if(_loc2_ !== param1)
- {
- this._1131509414progressBar = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"progressBar",_loc2_,param1));
- }
- }
-
- public function set uninstallButton(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1644197196uninstallButton;
- if(_loc2_ !== param1)
- {
- this._1644197196uninstallButton = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"uninstallButton",_loc2_,param1));
- }
- }
-
- [Bindable(event="propertyChange")]
- public function get updateDiffVerContentBox() : VBox
- {
- return this._314102585updateDiffVerContentBox;
- }
-
- public function set continueButton(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1092085433continueButton;
- if(_loc2_ !== param1)
- {
- this._1092085433continueButton = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"continueButton",_loc2_,param1));
- }
- }
-
- [Bindable(event="propertyChange")]
- private function get greenCircleIcon() : Class
- {
- return this._229542092greenCircleIcon;
- }
-
- private function _AppInstaller_LocalizedText5_c() : LocalizedText
- {
- var _loc1_:LocalizedText = new LocalizedText();
- _loc1_.y = 45;
- _loc1_.percentWidth = 100;
- _loc1_.resourceName = "lblRunExistingVersion";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_State1_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "appNameBaseState";
- _loc1_.overrides = [this._AppInstaller_SetProperty1_i(),this._AppInstaller_AddChild1_i()];
- return _loc1_;
- }
-
- private function _AppInstaller_HBox2_c() : HBox
- {
- var _loc1_:HBox = new HBox();
- _loc1_.percentWidth = 100;
- _loc1_.styleName = "buttonRow";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedButton11_i());
- _loc1_.addChild(this._AppInstaller_Spacer9_c());
- _loc1_.addChild(this._AppInstaller_OSButtonBarHBox5_c());
- return _loc1_;
- }
-
- private function _AppInstaller_State22_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Done";
- _loc1_.basedOn = "appNameBaseState";
- _loc1_.overrides = [this._AppInstaller_SetProperty32_i(),this._AppInstaller_AddChild10_i(),this._AppInstaller_SetProperty33_c()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State22_enterState);
- return _loc1_;
- }
-
- public function __openButton_click(param1:MouseEvent) : void
- {
- this.onOpen();
- }
-
- private function _AppInstaller_Spacer9_c() : Spacer
- {
- var _loc1_:Spacer = new Spacer();
- _loc1_.percentWidth = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function ___AppInstaller_TextInput1_change(param1:Event) : void
- {
- this.record.prefs.location = param1.target.text;
- }
-
- private function _AppInstaller_AddChild5_i() : AddChild
- {
- var _loc1_:AddChild = new AddChild();
- this._AppInstaller_AddChild5 = _loc1_;
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_VBox3_i);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild5",this._AppInstaller_AddChild5);
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty20_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty20 = _loc1_;
- _loc1_.name = "description";
- _loc1_.value = "msgEulaNoteApp";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty20",this._AppInstaller_SetProperty20);
- return _loc1_;
- }
-
- private function _AppInstaller_VBox8_c() : VBox
- {
- var _loc1_:VBox = new VBox();
- _loc1_.percentWidth = 100;
- _loc1_.percentHeight = 100;
- _loc1_.setStyle("verticalAlign","middle");
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedLabel11_i());
- return _loc1_;
- }
-
- public function set updateSameVerCancelButton(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._978582720updateSameVerCancelButton;
- if(_loc2_ !== param1)
- {
- this._978582720updateSameVerCancelButton = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateSameVerCancelButton",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_RemoveChild7_i() : RemoveChild
- {
- var _loc1_:RemoveChild = new RemoveChild();
- this._AppInstaller_RemoveChild7 = _loc1_;
- BindingManager.executeBindings(this,"_AppInstaller_RemoveChild7",this._AppInstaller_RemoveChild7);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get updateSameVerCancelButton() : LocalizedButton
- {
- return this._978582720updateSameVerCancelButton;
- }
-
- private function _AppInstaller_LocalizedButton6_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- this.continueButton = _loc1_;
- _loc1_.styleName = "defaultButton";
- _loc1_.resourceName = "btnContinue";
- _loc1_.addEventListener("click",this.__continueButton_click);
- _loc1_.id = "continueButton";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function set progressLabel(param1:LocalizedLabel) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._763044039progressLabel;
- if(_loc2_ !== param1)
- {
- this._763044039progressLabel = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"progressLabel",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_SetProperty43_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty43 = _loc1_;
- _loc1_.name = "styleName";
- _loc1_.value = "";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty43",this._AppInstaller_SetProperty43);
- return _loc1_;
- }
-
- private function _AppInstaller_Form1_c() : Form
- {
- var _loc1_:Form = new Form();
- _loc1_.percentWidth = 100;
- _loc1_.percentHeight = 100;
- _loc1_.setStyle("verticalGap",-2);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedFormItem1_c());
- _loc1_.addChild(this._AppInstaller_LocalizedFormItem2_c());
- _loc1_.addChild(this._AppInstaller_LocalizedFormItem3_c());
- return _loc1_;
- }
-
- private function _AppInstaller_Spacer12_c() : Spacer
- {
- var _loc1_:Spacer = null;
- _loc1_ = new Spacer();
- _loc1_.percentHeight = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_State10_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "EULA";
- _loc1_.basedOn = "appNameBaseState";
- _loc1_.overrides = [this._AppInstaller_SetProperty17_i(),this._AppInstaller_AddChild7_i(),this._AppInstaller_SetProperty18_i()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State10_enterState);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get runButton() : LocalizedButton
- {
- return this._1298695779runButton;
- }
-
- private function _AppInstaller_LocalizedFormItem4_c() : LocalizedFormItem
- {
- var _loc1_:LocalizedFormItem = new LocalizedFormItem();
- _loc1_.resourceName = "lblPublisher";
- _loc1_.percentWidth = 100;
- _loc1_.setStyle("horizontalAlign","left");
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedLabel4_i());
- return _loc1_;
- }
-
- public function set addShortcutCheckBox(param1:CheckBox) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1188010186addShortcutCheckBox;
- if(_loc2_ !== param1)
- {
- this._1188010186addShortcutCheckBox = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"addShortcutCheckBox",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_SetProperty31_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty31 = _loc1_;
- _loc1_.name = "resourceName";
- _loc1_.value = "lblWaitToExit";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty31",this._AppInstaller_SetProperty31);
- return _loc1_;
- }
-
- public function set doneLabel(param1:LocalizedLabel) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1627475090doneLabel;
- if(_loc2_ !== param1)
- {
- this._1627475090doneLabel = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"doneLabel",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_LocalizedText4_c() : LocalizedText
- {
- var _loc1_:LocalizedText = new LocalizedText();
- _loc1_.percentWidth = 100;
- _loc1_.resourceName = "lblRemoveApp";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function set showDescription(param1:Boolean) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._447578303showDescription;
- if(_loc2_ !== param1)
- {
- this._447578303showDescription = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"showDescription",_loc2_,param1));
- }
- }
-
- [Bindable(event="propertyChange")]
- public function get finishButton() : LocalizedButton
- {
- return this._1993628251finishButton;
- }
-
- private function _AppInstaller_SetProperty54_i() : SetProperty
- {
- var _loc1_:SetProperty = null;
- _loc1_ = new SetProperty();
- this._AppInstaller_SetProperty54 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 200;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty54",this._AppInstaller_SetProperty54);
- return _loc1_;
- }
-
- public function set updateDiffText(param1:LocalizedText) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._773127867updateDiffText;
- if(_loc2_ !== param1)
- {
- this._773127867updateDiffText = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateDiffText",_loc2_,param1));
- }
- }
-
- [Bindable(event="propertyChange")]
- public function get doneLabelResourceName() : String
- {
- return this._955756181doneLabelResourceName;
- }
-
- public function __cancelButton_click(param1:MouseEvent) : void
- {
- this.onCancel();
- }
-
- private function _AppInstaller_HBox1_c() : HBox
- {
- var _loc1_:HBox = new HBox();
- _loc1_.percentWidth = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_TextInput1_i());
- _loc1_.addChild(this._AppInstaller_Button1_c());
- return _loc1_;
- }
-
- private function _AppInstaller_State21_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "ProgressAutoUpdateWaiting";
- _loc1_.basedOn = "Progress";
- _loc1_.overrides = [this._AppInstaller_SetProperty31_i(),this._AppInstaller_RemoveChild8_i()];
- return _loc1_;
- }
-
- private function onUninstall() : void
- {
- currentState = "ProgressUninstall";
- this.doneLabelResourceName = "msgUninstallCompleted";
- this.record.prefs.action = "uninstall";
- this.events.dispatchEvent(new Event("appinstall.complete"));
- }
-
- private function _AppInstaller_RemoveChild6_i() : RemoveChild
- {
- var _loc1_:RemoveChild = new RemoveChild();
- this._AppInstaller_RemoveChild6 = _loc1_;
- BindingManager.executeBindings(this,"_AppInstaller_RemoveChild6",this._AppInstaller_RemoveChild6);
- return _loc1_;
- }
-
- private function _AppInstaller_Spacer8_c() : Spacer
- {
- var _loc1_:Spacer = new Spacer();
- _loc1_.percentHeight = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_AddChild4_i() : AddChild
- {
- var _loc1_:AddChild = new AddChild();
- this._AppInstaller_AddChild4 = _loc1_;
- _loc1_.position = "firstChild";
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_LocalizedText1_i);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild4",this._AppInstaller_AddChild4);
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedButton5_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- this.cancelButton = _loc1_;
- _loc1_.resourceName = "btnCancel";
- _loc1_.styleName = "defaultButton";
- _loc1_.addEventListener("click",this.__cancelButton_click);
- _loc1_.id = "cancelButton";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_VBox7_i() : VBox
- {
- var _loc1_:VBox = new VBox();
- this._AppInstaller_VBox7 = _loc1_;
- _loc1_.styleName = "contentBox";
- _loc1_.percentWidth = 100;
- _loc1_.percentHeight = 100;
- _loc1_.id = "_AppInstaller_VBox7";
- BindingManager.executeBindings(this,"_AppInstaller_VBox7",this._AppInstaller_VBox7);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_VBox8_c());
- _loc1_.addChild(this._AppInstaller_LocalizedButton9_i());
- return _loc1_;
- }
-
- private function onMore() : void
- {
- switch(currentState)
- {
- case "Update_Same_Ver":
- currentState = "Update_Same_More";
- break;
- case "Update_Diff_Ver":
- currentState = "Update_Diff_More";
- }
- }
-
- private function onClosing(param1:Event) : void
- {
- param1.preventDefault();
- switch(currentState)
- {
- case "Open_Save_Dialog":
- case "Security":
- case "Security_Verified":
- case "Prefs_Full_Win":
- case "Prefs_Win":
- case "Prefs_Full_Mac":
- case "Prefs_Mac":
- case "EULA":
- case "FirstLaunchEULA":
- case "Progress":
- case "ProgressDownloading":
- case "ProgressInit":
- case "ProgressInstall":
- case "ProgressUninstall":
- case "ProgressUpdate":
- case "Update_Same_Ver":
- case "Update_Same_Disabled":
- case "Update_Diff_Ver":
- case "Update_Diff_More":
- case "Update_Diff_Disabled":
- case "Uninstall":
- case "Uninstall_Disabled":
- case "WaitingForApps":
- this.asyncCall(this.onCancel);
- break;
- case "Done":
- case "Done_Cancel":
- case "Error":
- this.asyncCall(this.onFinish);
- }
- }
-
- private function _AppInstaller_State32_c() : State
- {
- var _loc1_:State = null;
- _loc1_ = new State();
- _loc1_.name = "WaitingForApps";
- _loc1_.overrides = [this._AppInstaller_SetProperty57_i(),this._AppInstaller_AddChild17_i()];
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty53_i() : SetProperty
- {
- var _loc1_:SetProperty = null;
- _loc1_ = new SetProperty();
- this._AppInstaller_SetProperty53 = _loc1_;
- _loc1_.name = "resourceName";
- _loc1_.value = "msgUninstConfirm";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty53",this._AppInstaller_SetProperty53);
- return _loc1_;
- }
-
- private function _AppInstaller_Spacer11_i() : Spacer
- {
- var _loc1_:Spacer = new Spacer();
- this.updateDiffBotSpacer = _loc1_;
- _loc1_.height = 14;
- _loc1_.id = "updateDiffBotSpacer";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty42_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty42 = _loc1_;
- _loc1_.name = "enabled";
- _loc1_.value = false;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty42",this._AppInstaller_SetProperty42);
- return _loc1_;
- }
-
- private function _AppInstaller_Canvas5_c() : Canvas
- {
- var _loc1_:Canvas = null;
- _loc1_ = new Canvas();
- _loc1_.styleName = "textBorderWrapper";
- _loc1_.percentWidth = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_TextArea1_i());
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty30_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty30 = _loc1_;
- _loc1_.name = "resourceName";
- _loc1_.value = "lblWaitWhileUpdating";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty30",this._AppInstaller_SetProperty30);
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedFormItem3_c() : LocalizedFormItem
- {
- var _loc1_:LocalizedFormItem = new LocalizedFormItem();
- _loc1_.resourceName = "lblFrom";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_Label2_i());
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedText3_i() : LocalizedText
- {
- var _loc1_:LocalizedText = new LocalizedText();
- this.updateDiffText = _loc1_;
- _loc1_.percentWidth = 95;
- _loc1_.useHTML = true;
- _loc1_.id = "updateDiffText";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get progressContent() : VBox
- {
- return this._139350644progressContent;
- }
-
- private function doWaitForOpen() : void
- {
- this.fileToOpen = new File();
- this.fileToOpen.addEventListener(Event.CANCEL,this.wfoCancel);
- this.fileToOpen.addEventListener(Event.SELECT,this.wfoSelect);
- this.fileToOpen.browseForOpen(locManager.getString("selectInstallPackage"),[new FileFilter(locManager.getString("installerPackage"),"*.air")]);
- }
-
- public function __eula_cancel(param1:Event) : void
- {
- this.onCancel();
- }
-
- private function _AppInstaller_HRule1_i() : HRule
- {
- var _loc1_:HRule = new HRule();
- this.updateDiffHRule = _loc1_;
- _loc1_.percentWidth = 100;
- _loc1_.height = 2;
- _loc1_.id = "updateDiffHRule";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_Spacer7_c() : Spacer
- {
- var _loc1_:Spacer = new Spacer();
- _loc1_.percentHeight = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function ___AppInstaller_InstallerApplication1_preinitialize(param1:FlexEvent) : void
- {
- this.onPreInitialize();
- }
-
- private function _AppInstaller_RemoveChild5_i() : RemoveChild
- {
- var _loc1_:RemoveChild = new RemoveChild();
- this._AppInstaller_RemoveChild5 = _loc1_;
- BindingManager.executeBindings(this,"_AppInstaller_RemoveChild5",this._AppInstaller_RemoveChild5);
- return _loc1_;
- }
-
- private function _AppInstaller_AddChild3_i() : AddChild
- {
- var _loc1_:AddChild = new AddChild();
- this._AppInstaller_AddChild3 = _loc1_;
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_VBox2_i);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild3",this._AppInstaller_AddChild3);
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedButton4_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- this.installButton = _loc1_;
- _loc1_.resourceName = "btnInstall";
- _loc1_.addEventListener("click",this.__installButton_click);
- _loc1_.id = "installButton";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function __addShortcutCheckBox_click(param1:MouseEvent) : void
- {
- this.record.prefs.installDesktopShortcut = !this.record.prefs.installDesktopShortcut;
- }
-
- [Bindable(event="propertyChange")]
- public function get updateSameVerContentBox() : VBox
- {
- return this._768499206updateSameVerContentBox;
- }
-
- [Bindable(event="propertyChange")]
- public function get dialogCancel() : LocalizedButton
- {
- return this._83361310dialogCancel;
- }
-
- private function _AppInstaller_VBox6_i() : VBox
- {
- var _loc1_:VBox = new VBox();
- this.progressContent = _loc1_;
- _loc1_.styleName = "contentBox";
- _loc1_.percentWidth = 100;
- _loc1_.percentHeight = 100;
- _loc1_.addEventListener("creationComplete",this.__progressContent_creationComplete);
- _loc1_.id = "progressContent";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_Spacer5_c());
- _loc1_.addChild(this._AppInstaller_LocalizedLabel9_i());
- _loc1_.addChild(this._AppInstaller_ProgressBar1_i());
- _loc1_.addChild(this._AppInstaller_Spacer6_c());
- _loc1_.addChild(this._AppInstaller_OSButtonBarHBox4_c());
- return _loc1_;
- }
-
- private function _AppInstaller_State20_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "ProgressAutoUpdate";
- _loc1_.basedOn = "Progress";
- _loc1_.overrides = [this._AppInstaller_SetProperty30_i(),this._AppInstaller_RemoveChild7_i()];
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedLabel12_c() : LocalizedLabel
- {
- var _loc1_:LocalizedLabel = new LocalizedLabel();
- _loc1_.resourceName = "msgAppInstallError";
- _loc1_.styleName = "h2";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_Canvas4_c() : Canvas
- {
- var _loc1_:Canvas = new Canvas();
- _loc1_.percentWidth = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedText4_c());
- _loc1_.addChild(this._AppInstaller_LocalizedText5_c());
- return _loc1_;
- }
-
- private function wfoCancel(param1:Event) : void
- {
- this.events.dispatchEvent(new Event("appinstall.cancel"));
- }
-
- [Bindable(event="propertyChange")]
- public function get openButton() : LocalizedButton
- {
- return this._137111012openButton;
- }
-
- private function _AppInstaller_SetProperty52_i() : SetProperty
- {
- var _loc1_:SetProperty = null;
- _loc1_ = new SetProperty();
- this._AppInstaller_SetProperty52 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 200;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty52",this._AppInstaller_SetProperty52);
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty41_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty41 = _loc1_;
- _loc1_.name = "enabled";
- _loc1_.value = false;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty41",this._AppInstaller_SetProperty41);
- return _loc1_;
- }
-
- private function _AppInstaller_State31_c() : State
- {
- var _loc1_:State = null;
- _loc1_ = new State();
- _loc1_.name = "Uninstall_Disabled";
- _loc1_.basedOn = "Uninstall";
- _loc1_.overrides = [this._AppInstaller_SetProperty54_i(),this._AppInstaller_SetProperty55_i(),this._AppInstaller_SetProperty56_i()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State31_enterState);
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedFormItem2_c() : LocalizedFormItem
- {
- var _loc1_:LocalizedFormItem = new LocalizedFormItem();
- _loc1_.resourceName = "lblType";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedLabel3_c());
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedText2_i() : LocalizedText
- {
- var _loc1_:LocalizedText = new LocalizedText();
- this.updateMsgText = _loc1_;
- _loc1_.percentWidth = 100;
- _loc1_.resourceName = "msgAppExistWithSameVer_Run";
- _loc1_.useHTML = true;
- _loc1_.id = "updateMsgText";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function __progressCancel_click(param1:MouseEvent) : void
- {
- this.onCancel();
- }
-
- [Bindable(event="propertyChange")]
- public function get securityHeader() : LocalizedText
- {
- return this._1027222035securityHeader;
- }
-
- [Bindable(event="propertyChange")]
- public function get eula() : EULA
- {
- return this._3124773eula;
- }
-
- private function _AppInstaller_Spacer6_c() : Spacer
- {
- var _loc1_:Spacer = new Spacer();
- _loc1_.percentHeight = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function set uninstallContentBox(param1:VBox) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._597697812uninstallContentBox;
- if(_loc2_ !== param1)
- {
- this._597697812uninstallContentBox = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"uninstallContentBox",_loc2_,param1));
- }
- }
-
- public function set updateDiffLinkButton(param1:LinkButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1657456934updateDiffLinkButton;
- if(_loc2_ !== param1)
- {
- this._1657456934updateDiffLinkButton = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateDiffLinkButton",_loc2_,param1));
- }
- }
-
- public function set verifiedLabel(param1:LocalizedLabel) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1243058932verifiedLabel;
- if(_loc2_ !== param1)
- {
- this._1243058932verifiedLabel = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"verifiedLabel",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_Spacer10_i() : Spacer
- {
- var _loc1_:Spacer = new Spacer();
- this.updateDiffMidSpacer = _loc1_;
- _loc1_.height = 14;
- _loc1_.id = "updateDiffMidSpacer";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get verifiedLabel() : LocalizedLabel
- {
- return this._1243058932verifiedLabel;
- }
-
- private function _AppInstaller_RemoveChild4_i() : RemoveChild
- {
- var _loc1_:RemoveChild = new RemoveChild();
- this._AppInstaller_RemoveChild4 = _loc1_;
- BindingManager.executeBindings(this,"_AppInstaller_RemoveChild4",this._AppInstaller_RemoveChild4);
- return _loc1_;
- }
-
- public function ___AppInstaller_State10_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.eula.agree);
- }
-
- private function set errorIDText(param1:String) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1492588304errorIDText;
- if(_loc2_ !== param1)
- {
- this._1492588304errorIDText = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"errorIDText",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_SetProperty40_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty40 = _loc1_;
- _loc1_.name = "defaultButton";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty40",this._AppInstaller_SetProperty40);
- return _loc1_;
- }
-
- private function _AppInstaller_Canvas3_c() : Canvas
- {
- var _loc1_:Canvas = new Canvas();
- _loc1_.minWidth = 120;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedButton16_c());
- _loc1_.addChild(this._AppInstaller_LocalizedButton17_c());
- return _loc1_;
- }
-
- public function set progressCancel(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1922221831progressCancel;
- if(_loc2_ !== param1)
- {
- this._1922221831progressCancel = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"progressCancel",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_LocalizedButton3_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- this.dialogCancel = _loc1_;
- _loc1_.resourceName = "btnCancel";
- _loc1_.addEventListener("click",this.__dialogCancel_click);
- _loc1_.id = "dialogCancel";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_VBox5_c() : VBox
- {
- var _loc1_:VBox = new VBox();
- _loc1_.percentWidth = 100;
- _loc1_.setStyle("verticalGap",0);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_CheckBox1_i());
- _loc1_.addChild(this._AppInstaller_CheckBox2_i());
- _loc1_.addChild(this._AppInstaller_CheckBox3_i());
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get cancelButton() : LocalizedButton
- {
- return this._1990131276cancelButton;
- }
-
- [Bindable(event="propertyChange")]
- public function get updateDiffCancelButton() : LocalizedButton
- {
- return this._1733670438updateDiffCancelButton;
- }
-
- public function __finishButton_click(param1:MouseEvent) : void
- {
- this.onFinish();
- }
-
- private function _AppInstaller_AddChild2_i() : AddChild
- {
- var _loc1_:AddChild = new AddChild();
- this._AppInstaller_AddChild2 = _loc1_;
- _loc1_.position = "firstChild";
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_LocalizedLabel2_c);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild2",this._AppInstaller_AddChild2);
- return _loc1_;
- }
-
- private function onApplicationComplete() : void
- {
- this.record = new ObjectProxy(getDefinitionByName("Object"));
- this.record.uiLanguages = ["en_US","de","es","fr","it","ja","ko","pt","ru","zh_Hans","zh_Hant","cs","nl","pl","sv","tr"];
- stage.nativeWindow.addEventListener(Event.CLOSING,this.onClosing);
- stage.addEventListener(KeyboardEvent.KEY_DOWN,this.onKeyDown,true);
- this.events = Application.application.root.loaderInfo.sharedEvents;
- this.events.addEventListener(StatusEvent.STATUS,this.onStatus);
- this.events.addEventListener(Event.COMPLETE,function(param1:Event):void
- {
- switch(currentState)
- {
- case "ProgressSave":
- events.dispatchEvent(new Event("appinstall.complete"));
- break;
- case "ProgressInstall":
- case "ProgressUninstall":
- currentState = "Done";
- break;
- case "ProgressCancel":
- currentState = "Done_Cancel";
- break;
- case "ProgressUpdate":
- record.prefs.launch = true;
- }
- });
- this.events.addEventListener(Event.CANCEL,function(param1:Event):void
- {
- currentState = "Done_Cancel";
- });
- this.events.addEventListener(ProgressEvent.PROGRESS,function(param1:ProgressEvent):void
- {
- progressBar.setProgress(param1.bytesLoaded,param1.bytesTotal);
- });
- this.events.addEventListener(ErrorEvent.ERROR,this.onError);
- this.events.addEventListener(IOErrorEvent.IO_ERROR,this.onError);
- this.events.addEventListener("dataChange",this.onDataChange);
- this.events.addEventListener("languagesSorted",function(param1:Event):void
- {
- record.uiLanguages.push("en_US");
- ResourceManager.getInstance().localeChain = record.uiLanguages;
- stage.stageWidth = int(locManager.getString("appInstMainWndWidth"));
- updateStylesForLocale();
- });
- this.events.dispatchEvent(new Event("appinstall.init"));
- }
-
- public function set securityContent(param1:VBox) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1622889191securityContent;
- if(_loc2_ !== param1)
- {
- this._1622889191securityContent = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"securityContent",_loc2_,param1));
- }
- }
-
- public function set waitingCancel(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1080032473waitingCancel;
- if(_loc2_ !== param1)
- {
- this._1080032473waitingCancel = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"waitingCancel",_loc2_,param1));
- }
- }
-
- [Bindable(event="propertyChange")]
- private function get airPackageIcon() : Class
- {
- return this._1869917749airPackageIcon;
- }
-
- private function _AppInstaller_State30_c() : State
- {
- var _loc1_:State = null;
- _loc1_ = new State();
- _loc1_.name = "Uninstall";
- _loc1_.basedOn = "appNameWithIconBaseState";
- _loc1_.overrides = [this._AppInstaller_SetProperty52_i(),this._AppInstaller_AddChild16_i(),this._AppInstaller_SetProperty53_i()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State30_enterState);
- return _loc1_;
- }
-
- private function set redSecurityIcon(param1:Class) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._2057878774redSecurityIcon;
- if(_loc2_ !== param1)
- {
- this._2057878774redSecurityIcon = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redSecurityIcon",_loc2_,param1));
- }
- }
-
- public function ___AppInstaller_State5_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.installButton);
- }
-
- private function _AppInstaller_LocalizedFormItem1_c() : LocalizedFormItem
- {
- var _loc1_:LocalizedFormItem = new LocalizedFormItem();
- _loc1_.resourceName = "lblFile";
- _loc1_.setStyle("horizontalAlign","left");
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_Label1_i());
- return _loc1_;
- }
-
- public function set updateDiffVersionForm(param1:Form) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1648198546updateDiffVersionForm;
- if(_loc2_ !== param1)
- {
- this._1648198546updateDiffVersionForm = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateDiffVersionForm",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_CheckBox3_i() : CheckBox
- {
- var _loc1_:CheckBox = new CheckBox();
- this.startApplicationCheckBox = _loc1_;
- _loc1_.percentWidth = 100;
- _loc1_.height = 22;
- _loc1_.addEventListener("click",this.__startApplicationCheckBox_click);
- _loc1_.id = "startApplicationCheckBox";
- BindingManager.executeBindings(this,"startApplicationCheckBox",this.startApplicationCheckBox);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function ___AppInstaller_State27_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.updateDiffReplaceButton);
- }
-
- private function _AppInstaller_LocalizedLabel11_i() : LocalizedLabel
- {
- var _loc1_:LocalizedLabel = new LocalizedLabel();
- this.doneLabel = _loc1_;
- _loc1_.id = "doneLabel";
- BindingManager.executeBindings(this,"doneLabel",this.doneLabel);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty51_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty51 = _loc1_;
- _loc1_.name = "enabled";
- _loc1_.value = false;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty51",this._AppInstaller_SetProperty51);
- return _loc1_;
- }
-
- private function set greenCircleIcon(param1:Class) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._229542092greenCircleIcon;
- if(_loc2_ !== param1)
- {
- this._229542092greenCircleIcon = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"greenCircleIcon",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_LocalizedText1_i() : LocalizedText
- {
- var _loc1_:LocalizedText = new LocalizedText();
- this.securityHeader = _loc1_;
- _loc1_.styleName = "h1";
- _loc1_.percentWidth = 100;
- _loc1_.resourceName = "msgSureToInstallAppConfirm";
- _loc1_.id = "securityHeader";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- private function get yellowSecurityIcon() : Class
- {
- return this._703057299yellowSecurityIcon;
- }
-
- public function set updateDiffReplaceButton(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1106646328updateDiffReplaceButton;
- if(_loc2_ !== param1)
- {
- this._1106646328updateDiffReplaceButton = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateDiffReplaceButton",_loc2_,param1));
- }
- }
-
- private function set redCircleIcon(param1:Class) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1654957862redCircleIcon;
- if(_loc2_ !== param1)
- {
- this._1654957862redCircleIcon = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redCircleIcon",_loc2_,param1));
- }
- }
-
- private function onLaunch() : void
- {
- this.record.prefs.launch = true;
- this.record.prefs.action = "launch";
- this.events.dispatchEvent(new Event("appinstall.complete"));
- }
-
- public function __prefsCancel_click(param1:MouseEvent) : void
- {
- this.onCancel();
- }
-
- private function _AppInstaller_Spacer5_c() : Spacer
- {
- var _loc1_:Spacer = new Spacer();
- _loc1_.percentHeight = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function set updateDiffVerContentBox(param1:VBox) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._314102585updateDiffVerContentBox;
- if(_loc2_ !== param1)
- {
- this._314102585updateDiffVerContentBox = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateDiffVerContentBox",_loc2_,param1));
- }
- }
-
- public function __uninstallCancelButton_click(param1:MouseEvent) : void
- {
- this.onCancel();
- }
-
- public function ___AppInstaller_State8_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.continueButton);
- }
-
- [Bindable(event="propertyChange")]
- public function get installAIRCheckBox() : CheckBox
- {
- return this._476780146installAIRCheckBox;
- }
-
- public function set uninstallLabel(param1:LocalizedText) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._786866994uninstallLabel;
- if(_loc2_ !== param1)
- {
- this._786866994uninstallLabel = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"uninstallLabel",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_RemoveChild3_i() : RemoveChild
- {
- var _loc1_:RemoveChild = new RemoveChild();
- this._AppInstaller_RemoveChild3 = _loc1_;
- BindingManager.executeBindings(this,"_AppInstaller_RemoveChild3",this._AppInstaller_RemoveChild3);
- return _loc1_;
- }
-
- private function set redBlockedIcon(param1:Class) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1707366196redBlockedIcon;
- if(_loc2_ !== param1)
- {
- this._1707366196redBlockedIcon = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redBlockedIcon",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_LocalizedButton2_c() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- _loc1_.resourceName = "btnSave";
- _loc1_.addEventListener("click",this.___AppInstaller_LocalizedButton2_click);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function set airIcon(param1:Class) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._992840477airIcon;
- if(_loc2_ !== param1)
- {
- this._992840477airIcon = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"airIcon",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_AddChild1_i() : AddChild
- {
- var _loc1_:AddChild = new AddChild();
- this._AppInstaller_AddChild1 = _loc1_;
- _loc1_.position = "firstChild";
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_LocalizedLabel1_i);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild1",this._AppInstaller_AddChild1);
- return _loc1_;
- }
-
- public function set appIconImage(param1:ExtendedImage) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._299359041appIconImage;
- if(_loc2_ !== param1)
- {
- this._299359041appIconImage = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"appIconImage",_loc2_,param1));
- }
- }
-
- public function set updateMsgText(param1:LocalizedText) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._152218811updateMsgText;
- if(_loc2_ !== param1)
- {
- this._152218811updateMsgText = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateMsgText",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_RemoveChild13_i() : RemoveChild
- {
- var _loc1_:RemoveChild = new RemoveChild();
- this._AppInstaller_RemoveChild13 = _loc1_;
- BindingManager.executeBindings(this,"_AppInstaller_RemoveChild13",this._AppInstaller_RemoveChild13);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get updateAppsRunning() : TextArea
- {
- return this._1318708836updateAppsRunning;
- }
-
- [Bindable(event="propertyChange")]
- public function get contentBox() : VBox
- {
- return this._264524434contentBox;
- }
-
- public function set prefsCancel(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._180746570prefsCancel;
- if(_loc2_ !== param1)
- {
- this._180746570prefsCancel = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"prefsCancel",_loc2_,param1));
- }
- }
-
- private function set yellowSecurityIcon(param1:Class) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._703057299yellowSecurityIcon;
- if(_loc2_ !== param1)
- {
- this._703057299yellowSecurityIcon = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"yellowSecurityIcon",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_LocalizedLabel10_i() : LocalizedLabel
- {
- var _loc1_:LocalizedLabel = new LocalizedLabel();
- this._AppInstaller_LocalizedLabel10 = _loc1_;
- _loc1_.styleName = "h1";
- _loc1_.resourceName = "titleSaving";
- _loc1_.id = "_AppInstaller_LocalizedLabel10";
- BindingManager.executeBindings(this,"_AppInstaller_LocalizedLabel10",this._AppInstaller_LocalizedLabel10);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty50_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty50 = _loc1_;
- _loc1_.name = "resourceName";
- _loc1_.value = "msgOpenAppCurrentlyRunning";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty50",this._AppInstaller_SetProperty50);
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedButton19_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = null;
- _loc1_ = new LocalizedButton();
- this.uninstallCancelButton = _loc1_;
- _loc1_.styleName = "defaultButton";
- _loc1_.resourceName = "btnCancel";
- _loc1_.addEventListener("click",this.__uninstallCancelButton_click);
- _loc1_.id = "uninstallCancelButton";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_CheckBox2_i() : CheckBox
- {
- var _loc1_:CheckBox = new CheckBox();
- this.addShortcutCheckBox = _loc1_;
- _loc1_.percentWidth = 100;
- _loc1_.height = 22;
- _loc1_.addEventListener("click",this.__addShortcutCheckBox_click);
- _loc1_.id = "addShortcutCheckBox";
- BindingManager.executeBindings(this,"addShortcutCheckBox",this.addShortcutCheckBox);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function set startApplicationCheckBox(param1:CheckBox) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._732254545startApplicationCheckBox;
- if(_loc2_ !== param1)
- {
- this._732254545startApplicationCheckBox = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"startApplicationCheckBox",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_Button1_c() : Button
- {
- var _loc1_:Button = new Button();
- _loc1_.width = 32;
- _loc1_.height = 24;
- _loc1_.setStyle("icon",this._embed_mxml_assets_browse_icon_png_1873603066);
- _loc1_.setStyle("paddingLeft",5);
- _loc1_.setStyle("paddingRight",5);
- _loc1_.addEventListener("click",this.___AppInstaller_Button1_click);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- mx_internal function _AppInstaller_StylesInit() : void
- {
- var style:CSSStyleDeclaration = null;
- var effects:Array = null;
- if(mx_internal::_AppInstaller_StylesInit_done)
- {
- return;
- }
- mx_internal::_AppInstaller_StylesInit_done = true;
- style = StyleManager.getStyleDeclaration(".topContentBox");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration(".topContentBox",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.verticalGap = 0;
- };
- }
- style = StyleManager.getStyleDeclaration("List");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("List",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.paddingTop = 4;
- this.borderColor = 2236962;
- this.paddingLeft = 4;
- this.paddingRight = 4;
- this.paddingBottom = 4;
- this.backgroundColor = 3750201;
- };
- }
- style = StyleManager.getStyleDeclaration("ScrollBar");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("ScrollBar",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.downArrowOverSkin = SimpleScrollArrowSkin;
- this.scrollThumbIcon = _embed_css__assets_scroll_thumb_png_1750713466;
- this.arrowOverFillColor = 5460819;
- this.borderStyle = "solid";
- this.thumbOverFillColor = 5460819;
- this.arrowFillColor = 4408131;
- this.thumbUpSkin = SimpleScrollThumbSkin;
- this.downArrowUpSkin = SimpleScrollArrowSkin;
- this.trackColors = [2236962,2236962];
- this.upArrowDisabledSkin = SimpleScrollArrowSkin;
- this.highlightAlphas = [0,0];
- this.thumbFillColor = 4408131;
- this.upArrowUpSkin = SimpleScrollArrowSkin;
- this.trackSkin = SimpleScrollTrackSkin;
- this.arrowBorderColor = 4737096;
- this.arrowIconColor = 2236962;
- this.borderColor = 2236962;
- this.thumbDownSkin = SimpleScrollThumbSkin;
- this.upArrowOverSkin = SimpleScrollArrowSkin;
- this.thumbOverSkin = SimpleScrollThumbSkin;
- this.themeColor = 5460819;
- this.downArrowDownSkin = SimpleScrollArrowSkin;
- this.downArrowDisabledSkin = SimpleScrollArrowSkin;
- this.thumbBorderColor = 4737096;
- this.upArrowDownSkin = SimpleScrollArrowSkin;
- };
- }
- style = StyleManager.getStyleDeclaration(".eulaText");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration(".eulaText",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.borderColor = 2236962;
- this.paddingLeft = 6;
- this.paddingRight = 6;
- this.leading = 0;
- this.backgroundColor = 3750201;
- };
- }
- style = StyleManager.getStyleDeclaration("LinkButton");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("LinkButton",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.textAlign = "left";
- this.fillAlphas = [0,0,0,0];
- this.selectedDownSkin = ProgrammaticSkin;
- this.selectedUpSkin = ProgrammaticSkin;
- this.selectedOverSkin = ProgrammaticSkin;
- this.upSkin = ProgrammaticSkin;
- this.textIndent = 0;
- this.fontSize = 10;
- this.backgroundAlpha = 0;
- this.downSkin = ProgrammaticSkin;
- this.overSkin = ProgrammaticSkin;
- };
- }
- style = StyleManager.getStyleDeclaration("Application");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("Application",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.paddingLeft = 15;
- this.backgroundGradientColors = [2697513,2697513];
- this.horizontalAlign = "left";
- this.backgroundAlpha = 1;
- this.fontSize = 10;
- this.paddingBottom = 20;
- this.themeColor = 4539717;
- this.fontFamily = "Lucida Grande,Verdana,Arial,_sans";
- this.paddingTop = 15;
- this.textAlign = "left";
- this.color = 16777215;
- this.paddingRight = 15;
- this.horizontalGap = 10;
- this.backgroundColor = 2697513;
- };
- }
- style = StyleManager.getStyleDeclaration("ProgressBar");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("ProgressBar",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.trackSkin = _embed_css_progress_bar_assets_swf_ProgressTrackSkin_1370281296;
- this.barSkin = _embed_css_progress_bar_assets_swf_ProgressBarSkin_2022653080;
- };
- }
- style = StyleManager.getStyleDeclaration("CheckBox");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("CheckBox",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.borderColor = 6250335;
- this.paddingLeft = 4;
- this.color = 16777215;
- this.fillColors = [15527148,12895428,16777215,15658734];
- this.textRollOverColor = 16777215;
- this.horizontalGap = 5;
- this.themeColor = 10066329;
- this.fontFamily = "Lucida Grande,Verdana,Arial,_sans";
- this.textSelectedColor = 16777215;
- };
- }
- style = StyleManager.getStyleDeclaration("Button");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("Button",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.paddingLeft = 12;
- this.fontWeight = "normal";
- this.textRollOverColor = 16777215;
- this.upSkin = _embed_css_Button_upSkin_png_84724716;
- this.fontSize = 14;
- this.overSkin = _embed_css_Button_overSkin_png_723251137;
- this.paddingBottom = 5;
- this.fontFamily = "Myriad Pro";
- this.paddingTop = 6;
- this.paddingRight = 12;
- this.downSkin = _embed_css_Button_downSkin_png_1315160815;
- this.disabledSkin = _embed_css_Button_disabledSkin_png_250132025;
- this.textSelectedColor = 16777215;
- };
- }
- style = StyleManager.getStyleDeclaration(".myDropDown");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration(".myDropDown",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.color = 32768;
- this.backgroundAlpha = 0;
- };
- }
- style = StyleManager.getStyleDeclaration(".h2");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration(".h2",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.leading = 4;
- this.fontSize = 12;
- this.fontFamily = "Myriad Pro Bold";
- };
- }
- style = StyleManager.getStyleDeclaration("TextInput");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("TextInput",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.borderColor = 2236962;
- this.outerBorderColor = 4737096;
- this.borderSkin = SimpleTwoColorBorder;
- this.borderThickness = 2;
- this.borderStyle = "solid";
- this.backgroundColor = 3750201;
- };
- }
- style = StyleManager.getStyleDeclaration("HRule");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("HRule",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.strokeColor = 3750201;
- this.shadowColor = 2236962;
- this.borderStyle = "solid";
- };
- }
- style = StyleManager.getStyleDeclaration("Form");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("Form",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.paddingLeft = 0;
- };
- }
- style = StyleManager.getStyleDeclaration(".contentBox");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration(".contentBox",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.paddingTop = 10;
- this.verticalGap = 0;
- };
- }
- style = StyleManager.getStyleDeclaration("FormItem");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("FormItem",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.textAlign = "left";
- };
- }
- style = StyleManager.getStyleDeclaration(".buttonRow");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration(".buttonRow",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.horizontalAlign = "left";
- this.horizontalGap = 12;
- };
- }
- style = StyleManager.getStyleDeclaration("ComboBox");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("ComboBox",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.color = 16777215;
- this.textRollOverColor = 16777215;
- this.backgroundAlpha = 0;
- this.fontSize = 9;
- this.dropdownStyleName = "myDropDown";
- };
- }
- style = StyleManager.getStyleDeclaration(".h1");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration(".h1",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.fontSize = 18;
- this.fontFamily = "Myriad Pro";
- };
- }
- style = StyleManager.getStyleDeclaration(".formItemText");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration(".formItemText",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.fontWeight = "bold";
- };
- }
- style = StyleManager.getStyleDeclaration("HScrollBar");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("HScrollBar",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.downArrowOverSkin = SimpleScrollArrowSkin;
- this.scrollThumbIcon = _embed_css__assets_scroll_thumb_png_1750713466;
- this.arrowOverFillColor = 5460819;
- this.borderStyle = "solid";
- this.thumbOverFillColor = 5460819;
- this.arrowFillColor = 4408131;
- this.thumbUpSkin = SimpleScrollThumbSkin;
- this.downArrowUpSkin = SimpleScrollArrowSkin;
- this.trackColors = [2236962,2236962];
- this.upArrowDisabledSkin = SimpleScrollArrowSkin;
- this.highlightAlphas = [0,0];
- this.thumbFillColor = 4408131;
- this.upArrowUpSkin = SimpleScrollArrowSkin;
- this.trackSkin = SimpleScrollTrackSkin;
- this.arrowBorderColor = 4737096;
- this.arrowIconColor = 2236962;
- this.borderColor = 2236962;
- this.thumbDownSkin = SimpleScrollThumbSkin;
- this.upArrowOverSkin = SimpleScrollArrowSkin;
- this.thumbOverSkin = SimpleScrollThumbSkin;
- this.themeColor = 5460819;
- this.downArrowDownSkin = SimpleScrollArrowSkin;
- this.downArrowDisabledSkin = SimpleScrollArrowSkin;
- this.thumbBorderColor = 4737096;
- this.upArrowDownSkin = SimpleScrollArrowSkin;
- };
- }
- style = StyleManager.getStyleDeclaration("VScrollBar");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("VScrollBar",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.downArrowOverSkin = SimpleScrollArrowSkin;
- this.scrollThumbIcon = _embed_css__assets_scroll_thumb_png_1750713466;
- this.arrowOverFillColor = 5460819;
- this.borderStyle = "solid";
- this.thumbOverFillColor = 5460819;
- this.arrowFillColor = 4408131;
- this.thumbUpSkin = SimpleScrollThumbSkin;
- this.downArrowUpSkin = SimpleScrollArrowSkin;
- this.trackColors = [2236962,2236962];
- this.upArrowDisabledSkin = SimpleScrollArrowSkin;
- this.highlightAlphas = [0,0];
- this.thumbFillColor = 4408131;
- this.upArrowUpSkin = SimpleScrollArrowSkin;
- this.trackSkin = SimpleScrollTrackSkin;
- this.arrowBorderColor = 4737096;
- this.arrowIconColor = 2236962;
- this.borderColor = 2236962;
- this.thumbDownSkin = SimpleScrollThumbSkin;
- this.upArrowOverSkin = SimpleScrollArrowSkin;
- this.thumbOverSkin = SimpleScrollThumbSkin;
- this.themeColor = 5460819;
- this.downArrowDownSkin = SimpleScrollArrowSkin;
- this.downArrowDisabledSkin = SimpleScrollArrowSkin;
- this.thumbBorderColor = 4737096;
- this.upArrowDownSkin = SimpleScrollArrowSkin;
- };
- }
- style = StyleManager.getStyleDeclaration(".errorNumberText");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration(".errorNumberText",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.textAlign = "right";
- this.color = 13421772;
- };
- }
- style = StyleManager.getStyleDeclaration(".textBorderWrapper");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration(".textBorderWrapper",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.borderColor = 5460819;
- this.borderStyle = "solid";
- };
- }
- style = StyleManager.getStyleDeclaration(".defaultButton");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration(".defaultButton",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.upSkin = _embed_css_Button_Default_upSkin_png_1016964574;
- this.overSkin = _embed_css_Button_Default_overSkin_png_1598282337;
- this.downSkin = _embed_css_Button_Default_downSkin_png_1063774301;
- this.disabledSkin = _embed_css_Button_Default_DisabledSkin_png_2000144681;
- };
- }
- style = StyleManager.getStyleDeclaration("EULA");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("EULA",style,false);
- }
- if(style.factory == null)
- {
- style.factory = function():void
- {
- this.paddingTop = 12;
- this.verticalGap = 0;
- };
- }
- StyleManager.mx_internal::initProtoChainRoots();
- }
-
- public function ___AppInstaller_VBox9_creationComplete(param1:FlexEvent) : void
- {
- activate();
- }
-
- [Bindable(event="propertyChange")]
- public function get progressBar() : ProgressBar
- {
- return this._1131509414progressBar;
- }
-
- private function onStatus(param1:StatusEvent) : void
- {
- var _loc2_:RegExp = null;
- var _loc3_:Object = null;
- var _loc4_:String = null;
- this.record = new ObjectProxy(getDefinitionByName("Object"));
- switch(param1.code)
- {
- case "waitingForOpen":
- this.doWaitForOpen();
- break;
- case "downloading":
- this.fileToOpen = null;
- stage.nativeWindow.title = locManager.getString("titleAppInstall");
- currentState = "ProgressDownloading";
- break;
- case "unpackaging":
- this.fileToOpen = null;
- stage.nativeWindow.title = locManager.getString("titleAppInstall");
- currentState = "ProgressInit";
- break;
- case "WaitingForApps":
- currentState = "WaitingForApps";
- break;
- case "waiting":
- if(this.progressBar != null)
- {
- this.progressBar.setProgress(0,100);
- }
- Application.application.executeBindings(true);
- if(currentState == "Error")
- {
- return;
- }
- if(this.record.invocation == "install" && !this.record.installed.isInstalled)
- {
- currentState = this.record.app.publisher != null ? "Security_Verified" : "Security";
- this.doneLabelResourceName = "msgInstallCompleted";
- }
- else if(this.record.invocation == "install" && Boolean(this.record.installed.isIdentical))
- {
- currentState = !!this.record.installed.isRunning ? "Update_Same_Disabled" : "Update_Same_Ver";
- this.doneLabelResourceName = "msgRepairCompleted";
- }
- else if(this.record.invocation == "install")
- {
- currentState = !!this.record.installed.isRunning ? "Update_Diff_Disabled" : "Update_Diff_Ver";
- this.doneLabelResourceName = "msgUpdateCompleted";
- }
- else if(this.record.invocation == "update")
- {
- currentState = !!this.record.installed.isRunning ? "ProgressAutoUpdateWaiting" : "ProgressAutoUpdate";
- if(!this.record.installed.isRunning)
- {
- this.events.dispatchEvent(new Event("appinstall.complete"));
- }
- }
- else if(this.record.invocation == "download")
- {
- this.record.fileFrom = URLUtil.getServerName(this.record.url);
- _loc2_ = /^ (([^:\/?#]+):)? (\/\/([^\/?#]*))? ([^?#]*) (\?([^#]*))? (\#(.*))? $/xi;
- _loc3_ = _loc2_.exec(this.record.url);
- if(Boolean(_loc3_) && Boolean(_loc3_[5]))
- {
- _loc4_ = _loc3_[5];
- this.record.filename = decodeURI(_loc4_.substring(_loc4_.lastIndexOf("/") + 1));
- }
- else
- {
- this.record.filename = locManager.getString("fileNameUnknown");
- }
- currentState = "Open_Save_Dialog";
- }
- else
- {
- currentState = !!this.record.installed.isRunning ? "Uninstall_Disabled" : "Uninstall";
- }
- break;
- case "isRunning":
- switch(currentState)
- {
- case "Update_Same_Disabled":
- currentState = "Update_Same_Ver";
- break;
- case "Update_Diff_Disabled":
- currentState = "Update_Diff_Ver";
- break;
- case "ProgressAutoUpdateWaiting":
- currentState = "ProgressAutoUpdate";
- this.events.dispatchEvent(new Event("appinstall.complete"));
- break;
- case "Uninstall_Disabled":
- currentState = "Uninstall";
- }
- }
- }
-
- private function _AppInstaller_VBox4_i() : VBox
- {
- var _loc1_:VBox = new VBox();
- this.PrefsVBox = _loc1_;
- _loc1_.styleName = "contentBox";
- _loc1_.percentWidth = 100;
- _loc1_.percentHeight = 100;
- _loc1_.id = "PrefsVBox";
- BindingManager.executeBindings(this,"PrefsVBox",this.PrefsVBox);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedLabel6_i());
- _loc1_.addChild(this._AppInstaller_Text1_i());
- _loc1_.addChild(this._AppInstaller_Spacer2_i());
- _loc1_.addChild(this._AppInstaller_LocalizedLabel7_c());
- _loc1_.addChild(this._AppInstaller_VBox5_c());
- _loc1_.addChild(this._AppInstaller_Spacer3_c());
- _loc1_.addChild(this._AppInstaller_LocalizedLabel8_c());
- _loc1_.addChild(this._AppInstaller_HBox1_c());
- _loc1_.addChild(this._AppInstaller_Spacer4_c());
- _loc1_.addChild(this._AppInstaller_OSButtonBarHBox3_c());
- return _loc1_;
- }
-
- private function _AppInstaller_Spacer4_c() : Spacer
- {
- var _loc1_:Spacer = new Spacer();
- _loc1_.percentHeight = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get uninstallButton() : LocalizedButton
- {
- return this._1644197196uninstallButton;
- }
-
- private function _AppInstaller_OSButtonBarHBox8_c() : OSButtonBarHBox
- {
- var _loc1_:OSButtonBarHBox = null;
- _loc1_ = new OSButtonBarHBox();
- _loc1_.percentWidth = 100;
- _loc1_.styleName = "buttonRow";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedButton20_i());
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get continueButton() : LocalizedButton
- {
- return this._1092085433continueButton;
- }
-
- [Bindable(event="propertyChange")]
- public function get updateDiffText() : LocalizedText
- {
- return this._773127867updateDiffText;
- }
-
- private function onInstall() : void
- {
- var _loc1_:String = Capabilities.os;
- if(_loc1_.indexOf("Windows") != -1)
- {
- currentState = !!this.record.willInstallRuntime ? "Prefs_Full_Win" : "Prefs_Win";
- }
- else if(_loc1_.indexOf("Mac") != -1)
- {
- currentState = !!this.record.willInstallRuntime ? "Prefs_Full_Mac" : "Prefs_Mac";
- }
- else if(_loc1_.indexOf("Linux") != -1)
- {
- currentState = !!this.record.willInstallRuntime ? "Prefs_Full_Win" : "Prefs_Win";
- }
- }
-
- private function _AppInstaller_RemoveChild2_i() : RemoveChild
- {
- var _loc1_:RemoveChild = new RemoveChild();
- this._AppInstaller_RemoveChild2 = _loc1_;
- BindingManager.executeBindings(this,"_AppInstaller_RemoveChild2",this._AppInstaller_RemoveChild2);
- return _loc1_;
- }
-
- private function set errorText(param1:String) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._329533269errorText;
- if(_loc2_ !== param1)
- {
- this._329533269errorText = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"errorText",_loc2_,param1));
- }
- }
-
- public function __updateDiffCancelButton_click(param1:MouseEvent) : void
- {
- this.onCancel();
- }
-
- private function _AppInstaller_LocalizedButton1_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- this.openButton = _loc1_;
- _loc1_.styleName = "defaultButton";
- _loc1_.resourceName = "btnOpen";
- _loc1_.addEventListener("click",this.__openButton_click);
- _loc1_.id = "openButton";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function __waitingCancel_click(param1:MouseEvent) : void
- {
- this.onCancel();
- }
-
- private function _AppInstaller_VBox3_i() : VBox
- {
- var _loc1_:VBox = new VBox();
- this.securityContent = _loc1_;
- _loc1_.styleName = "contentBox";
- _loc1_.percentWidth = 100;
- _loc1_.percentHeight = 100;
- _loc1_.id = "securityContent";
- BindingManager.executeBindings(this,"securityContent",this.securityContent);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_Form2_c());
- _loc1_.addChild(this._AppInstaller_Spacer1_c());
- _loc1_.addChild(this._AppInstaller_OSButtonBarHBox2_c());
- _loc1_.addChild(this._AppInstaller_SecurityInfo1_i());
- return _loc1_;
- }
-
- private function _AppInstaller_RemoveChild12_i() : RemoveChild
- {
- var _loc1_:RemoveChild = new RemoveChild();
- this._AppInstaller_RemoveChild12 = _loc1_;
- BindingManager.executeBindings(this,"_AppInstaller_RemoveChild12",this._AppInstaller_RemoveChild12);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- private function get redCircleIcon() : Class
- {
- return this._1654957862redCircleIcon;
- }
-
- public function ___AppInstaller_LocalizedButton17_click(param1:MouseEvent) : void
- {
- this.onLaunch();
- }
-
- private function _AppInstaller_CheckBox1_i() : CheckBox
- {
- var _loc1_:CheckBox = new CheckBox();
- this.installAIRCheckBox = _loc1_;
- _loc1_.percentWidth = 100;
- _loc1_.enabled = false;
- _loc1_.height = 22;
- _loc1_.id = "installAIRCheckBox";
- BindingManager.executeBindings(this,"installAIRCheckBox",this.installAIRCheckBox);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get updateDiffLinkButton() : LinkButton
- {
- return this._1657456934updateDiffLinkButton;
- }
-
- private function _AppInstaller_LocalizedButton18_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = null;
- _loc1_ = new LocalizedButton();
- this.uninstallButton = _loc1_;
- _loc1_.resourceName = "btnUninstall";
- _loc1_.setStyle("icon",this._embed_mxml_assets_uninstall_icon_png_1358934296);
- _loc1_.addEventListener("click",this.__uninstallButton_click);
- _loc1_.id = "uninstallButton";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty19_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty19 = _loc1_;
- _loc1_.name = "header";
- _loc1_.value = "titleLicenseAgreement";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty19",this._AppInstaller_SetProperty19);
- return _loc1_;
- }
-
- private function _AppInstaller_Spacer3_c() : Spacer
- {
- var _loc1_:Spacer = new Spacer();
- _loc1_.height = 16;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function onPreInitialize() : void
- {
- locManager = LocalizationManager.getInstance();
- locManager.defaultResourceBundleName = className;
- }
-
- public function set titleLabel(param1:LocalizedLabel) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1791483012titleLabel;
- if(_loc2_ !== param1)
- {
- this._1791483012titleLabel = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"titleLabel",_loc2_,param1));
- }
- }
-
- private function asyncCall(param1:Function) : void
- {
- var f:Function = param1;
- this.asyncCallTimer = new Timer(0,1);
- this.asyncCallTimer.addEventListener(TimerEvent.TIMER,function(param1:Event):void
- {
- f();
- });
- this.asyncCallTimer.start();
- }
-
- private function _AppInstaller_OSButtonBarHBox7_c() : OSButtonBarHBox
- {
- var _loc1_:OSButtonBarHBox = null;
- _loc1_ = new OSButtonBarHBox();
- _loc1_.styleName = "buttonRow";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedButton18_i());
- _loc1_.addChild(this._AppInstaller_LocalizedButton19_i());
- return _loc1_;
- }
-
- private function _AppInstaller_RemoveChild1_i() : RemoveChild
- {
- var _loc1_:RemoveChild = new RemoveChild();
- this._AppInstaller_RemoveChild1 = _loc1_;
- BindingManager.executeBindings(this,"_AppInstaller_RemoveChild1",this._AppInstaller_RemoveChild1);
- return _loc1_;
- }
-
- public function set doneLabelResourceName(param1:String) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._955756181doneLabelResourceName;
- if(_loc2_ !== param1)
- {
- this._955756181doneLabelResourceName = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"doneLabelResourceName",_loc2_,param1));
- }
- }
-
- [Bindable(event="propertyChange")]
- public function get progressCancel() : LocalizedButton
- {
- return this._1922221831progressCancel;
- }
-
- private function _AppInstaller_RemoveChild11_i() : RemoveChild
- {
- var _loc1_:RemoveChild = new RemoveChild();
- this._AppInstaller_RemoveChild11 = _loc1_;
- BindingManager.executeBindings(this,"_AppInstaller_RemoveChild11",this._AppInstaller_RemoveChild11);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- private function get redSecurityIcon() : Class
- {
- return this._2057878774redSecurityIcon;
- }
-
- private function _AppInstaller_VBox2_i() : VBox
- {
- var _loc1_:VBox = new VBox();
- this._AppInstaller_VBox2 = _loc1_;
- _loc1_.styleName = "contentBox";
- _loc1_.percentWidth = 100;
- _loc1_.percentHeight = 100;
- _loc1_.addEventListener("creationComplete",this.___AppInstaller_VBox2_creationComplete);
- _loc1_.id = "_AppInstaller_VBox2";
- BindingManager.executeBindings(this,"_AppInstaller_VBox2",this._AppInstaller_VBox2);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_Form1_c());
- _loc1_.addChild(this._AppInstaller_OSButtonBarHBox1_c());
- return _loc1_;
- }
-
- public function __uninstallSame_click(param1:MouseEvent) : void
- {
- this.onUninstall();
- }
-
- private function _AppInstaller_SecurityInfo1_i() : SecurityInfo
- {
- var _loc1_:SecurityInfo = new SecurityInfo();
- this.securityInfo = _loc1_;
- _loc1_.percentWidth = 100;
- _loc1_.currentState = "opened";
- _loc1_.id = "securityInfo";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedButton17_c() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- _loc1_.y = 45;
- _loc1_.percentWidth = 100;
- _loc1_.resourceName = "btnRunNow";
- _loc1_.setStyle("icon",this._embed_mxml_assets_run_icon_png_450278490);
- _loc1_.setStyle("paddingLeft",15);
- _loc1_.addEventListener("click",this.___AppInstaller_LocalizedButton17_click);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function set progressContent(param1:VBox) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._139350644progressContent;
- if(_loc2_ !== param1)
- {
- this._139350644progressContent = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"progressContent",_loc2_,param1));
- }
- }
-
- [Bindable(event="propertyChange")]
- public function get waitingCancel() : LocalizedButton
- {
- return this._1080032473waitingCancel;
- }
-
- private function _AppInstaller_SetProperty18_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty18 = _loc1_;
- _loc1_.name = "source";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty18",this._AppInstaller_SetProperty18);
- return _loc1_;
- }
-
- private function _AppInstaller_OSButtonBarHBox6_c() : OSButtonBarHBox
- {
- var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
- _loc1_.styleName = "buttonRow";
- _loc1_.percentWidth = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedButton14_i());
- _loc1_.addChild(this._AppInstaller_LocalizedButton15_i());
- return _loc1_;
- }
-
- private function onDataChange(param1:Event) : void
- {
- this.updateAppsRunning.htmlText = this.getUpdateAppsText(this.record.updateRunning);
- }
-
- public function set runButton(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1298695779runButton;
- if(_loc2_ !== param1)
- {
- this._1298695779runButton = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"runButton",_loc2_,param1));
- }
- }
-
- [Bindable(event="propertyChange")]
- public function get appIconImage() : ExtendedImage
- {
- return this._299359041appIconImage;
- }
-
- public function ___AppInstaller_State30_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.uninstallCancelButton);
- }
-
- private function _AppInstaller_Label5_i() : Label
- {
- var _loc1_:Label = new Label();
- this._AppInstaller_Label5 = _loc1_;
- _loc1_.styleName = "formItemText";
- _loc1_.id = "_AppInstaller_Label5";
- BindingManager.executeBindings(this,"_AppInstaller_Label5",this._AppInstaller_Label5);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty9_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty9 = _loc1_;
- _loc1_.name = "source";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty9",this._AppInstaller_SetProperty9);
- return _loc1_;
- }
-
- private function _AppInstaller_Spacer2_i() : Spacer
- {
- var _loc1_:Spacer = new Spacer();
- this._AppInstaller_Spacer2 = _loc1_;
- _loc1_.height = 16;
- _loc1_.id = "_AppInstaller_Spacer2";
- BindingManager.executeBindings(this,"_AppInstaller_Spacer2",this._AppInstaller_Spacer2);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_RemoveChild10_i() : RemoveChild
- {
- var _loc1_:RemoveChild = new RemoveChild();
- this._AppInstaller_RemoveChild10 = _loc1_;
- BindingManager.executeBindings(this,"_AppInstaller_RemoveChild10",this._AppInstaller_RemoveChild10);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get updateMsgText() : LocalizedText
- {
- return this._152218811updateMsgText;
- }
-
- private function _AppInstaller_SetProperty29_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty29 = _loc1_;
- _loc1_.name = "resourceName";
- _loc1_.value = "lblCancelingInst";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty29",this._AppInstaller_SetProperty29);
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedLabel9_i() : LocalizedLabel
- {
- var _loc1_:LocalizedLabel = new LocalizedLabel();
- this.progressLabel = _loc1_;
- _loc1_.styleName = "formItemText";
- _loc1_.id = "progressLabel";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function onFinish() : void
- {
- this.events.dispatchEvent(new Event("appinstall.complete"));
- }
-
- [Bindable(event="propertyChange")]
- public function get uninstallLabel() : LocalizedText
- {
- return this._786866994uninstallLabel;
- }
-
- [Bindable(event="propertyChange")]
- private function get errorText() : String
- {
- return this._329533269errorText;
- }
-
- [Bindable(event="propertyChange")]
- private function get redBlockedIcon() : Class
- {
- return this._1707366196redBlockedIcon;
- }
-
- public function set finishButton(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1993628251finishButton;
- if(_loc2_ !== param1)
- {
- this._1993628251finishButton = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"finishButton",_loc2_,param1));
- }
- }
-
- private function _AppInstaller_LocalizedButton16_c() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- _loc1_.percentWidth = 100;
- _loc1_.resourceName = "btnUninstall";
- _loc1_.setStyle("icon",this._embed_mxml_assets_uninstall_icon_png_1358934296);
- _loc1_.addEventListener("click",this.___AppInstaller_LocalizedButton16_click);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function onError(param1:Event) : void
- {
- var _loc3_:String = null;
- var _loc2_:ErrorEvent = ErrorEvent(param1);
- if(this.ERROR_ID_TO_NAME.hasOwnProperty(_loc2_.errorID))
- {
- _loc3_ = this.ERROR_ID_TO_NAME[_loc2_.errorID];
- this.errorIDText = "";
- }
- else
- {
- if(this.record.invocation == "uninstall" || this.record.prefs && this.record.prefs.action == "uninstall")
- {
- _loc3_ = "genericUninstallError";
- }
- else if(this.record.invocation == "update")
- {
- _loc3_ = "genericUpdateError";
- }
- else
- {
- _loc3_ = "genericInstallError";
- }
- this.errorIDText = locManager.getString("msgErrorStringBegin",null,[_loc2_.errorID]);
- }
- this.errorText = locManager.getString(_loc3_);
- currentState = "Error";
- }
-
- private function _AppInstaller_SetProperty17_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty17 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 392;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty17",this._AppInstaller_SetProperty17);
- return _loc1_;
- }
-
- private function _AppInstaller_Spacer1_c() : Spacer
- {
- var _loc1_:Spacer = new Spacer();
- _loc1_.percentHeight = 100;
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- public function __progressContent_creationComplete(param1:FlexEvent) : void
- {
- activate();
- }
-
- private function _AppInstaller_State19_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "ProgressCancel";
- _loc1_.basedOn = "Progress";
- _loc1_.overrides = [this._AppInstaller_SetProperty29_i(),this._AppInstaller_RemoveChild6_i()];
- return _loc1_;
- }
-
- private function _AppInstaller_OSButtonBarHBox5_c() : OSButtonBarHBox
- {
- var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedButton12_i());
- _loc1_.addChild(this._AppInstaller_LocalizedButton13_i());
- return _loc1_;
- }
-
- public function set updateDiffHRule(param1:HRule) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1814491210updateDiffHRule;
- if(_loc2_ !== param1)
- {
- this._1814491210updateDiffHRule = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateDiffHRule",_loc2_,param1));
- }
- }
-
- public function ___AppInstaller_State22_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.finishButton);
- }
-
- private function _AppInstaller_Label4_i() : Label
- {
- var _loc1_:Label = new Label();
- this._AppInstaller_Label4 = _loc1_;
- _loc1_.styleName = "formItemText";
- _loc1_.id = "_AppInstaller_Label4";
- BindingManager.executeBindings(this,"_AppInstaller_Label4",this._AppInstaller_Label4);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty8_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty8 = _loc1_;
- _loc1_.name = "defaultButton";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty8",this._AppInstaller_SetProperty8);
- return _loc1_;
- }
-
- private function _AppInstaller_State9_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Prefs_Mac";
- _loc1_.basedOn = "Prefs_Full_Win";
- _loc1_.overrides = [this._AppInstaller_RemoveChild3_i(),this._AppInstaller_RemoveChild4_i()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State9_enterState);
- return _loc1_;
- }
-
- private function _AppInstaller_TextInput1_i() : TextInput
- {
- var _loc1_:TextInput = new TextInput();
- this._AppInstaller_TextInput1 = _loc1_;
- _loc1_.minWidth = 280;
- _loc1_.percentWidth = 100;
- _loc1_.height = 24;
- _loc1_.addEventListener("change",this.___AppInstaller_TextInput1_change);
- _loc1_.id = "_AppInstaller_TextInput1";
- BindingManager.executeBindings(this,"_AppInstaller_TextInput1",this._AppInstaller_TextInput1);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function onUpdate() : void
- {
- this.onContinue();
- }
-
- private function _AppInstaller_LocalizedLabel8_c() : LocalizedLabel
- {
- var _loc1_:LocalizedLabel = new LocalizedLabel();
- _loc1_.resourceName = "lblInstallationLocation";
- _loc1_.styleName = "h2";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty28_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty28 = _loc1_;
- _loc1_.name = "resourceName";
- _loc1_.value = "lblUpdatingApp";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty28",this._AppInstaller_SetProperty28);
- return _loc1_;
- }
-
- override public function initialize() : void
- {
- var bindings:Array;
- var watchers:Array;
- var i:uint;
- var target:AppInstaller = null;
- var watcherSetupUtilClass:Object = null;
- mx_internal::setDocumentDescriptor(this._documentDescriptor_);
- bindings = this._AppInstaller_bindingsSetup();
- watchers = [];
- target = this;
- if(_watcherSetupUtil == null)
- {
- watcherSetupUtilClass = getDefinitionByName("_AppInstallerWatcherSetupUtil");
- watcherSetupUtilClass["init"](null);
- }
- _watcherSetupUtil.setup(this,function(param1:String):*
- {
- return target[param1];
- },bindings,watchers);
- i = 0;
- while(i < bindings.length)
- {
- Binding(bindings[i]).execute();
- i++;
- }
- mx_internal::_bindings = mx_internal::_bindings.concat(bindings);
- mx_internal::_watchers = mx_internal::_watchers.concat(watchers);
- super.initialize();
- }
-
- private function _AppInstaller_AddChild17_i() : AddChild
- {
- var _loc1_:AddChild = null;
- _loc1_ = new AddChild();
- this._AppInstaller_AddChild17 = _loc1_;
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_VBox14_c);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild17",this._AppInstaller_AddChild17);
- return _loc1_;
- }
-
- public function set updateDiffMidSpacer(param1:Spacer) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1780808646updateDiffMidSpacer;
- if(_loc2_ !== param1)
- {
- this._1780808646updateDiffMidSpacer = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateDiffMidSpacer",_loc2_,param1));
- }
- }
-
- public function ___AppInstaller_State3_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.openButton);
- }
-
- private function getUpdateAppsText(param1:Array) : String
- {
- var _loc2_:* = "";
- if(!param1)
- {
- return _loc2_;
- }
- var _loc3_:int = 0;
- while(_loc3_ < param1.length)
- {
- _loc2_ += Object(param1[_loc3_]).label;
- if(_loc3_ < param1.length - 1)
- {
- _loc2_ += "<br />";
- }
- _loc3_++;
- }
- return _loc2_;
- }
-
- public function ___AppInstaller_State11_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.eula.agree);
- }
-
- private function _AppInstaller_LocalizedButton15_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- this.updateDiffCancelButton = _loc1_;
- _loc1_.resourceName = "btnCancel";
- _loc1_.addEventListener("click",this.__updateDiffCancelButton_click);
- _loc1_.id = "updateDiffCancelButton";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_State18_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "ProgressUpdate";
- _loc1_.basedOn = "Progress";
- _loc1_.overrides = [this._AppInstaller_SetProperty28_i()];
- return _loc1_;
- }
-
- public function ___AppInstaller_State25_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.runButton);
- }
-
- public function ___AppInstaller_LocalizedButton16_click(param1:MouseEvent) : void
- {
- this.onUninstall();
- }
-
- private function _AppInstaller_AddChild16_i() : AddChild
- {
- var _loc1_:AddChild = null;
- _loc1_ = new AddChild();
- this._AppInstaller_AddChild16 = _loc1_;
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_VBox13_i);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild16",this._AppInstaller_AddChild16);
- return _loc1_;
- }
-
- private function onContinue() : void
- {
- if(this.record.mustShowEULA)
- {
- currentState = "EULA";
- }
- else if(!this.record.isEULAAccepted)
- {
- currentState = "FirstLaunchEULA";
- }
- else
- {
- currentState = "ProgressInstall";
- this.events.dispatchEvent(new Event("appinstall.complete"));
- }
- }
-
- private function _AppInstaller_OSButtonBarHBox4_c() : OSButtonBarHBox
- {
- var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
- _loc1_.percentWidth = 100;
- _loc1_.styleName = "buttonRow";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedButton8_i());
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty39_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty39 = _loc1_;
- _loc1_.name = "resourceName";
- _loc1_.value = "msgAppExistWithSameVer_Close";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty39",this._AppInstaller_SetProperty39);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get updateDiffHRule() : HRule
- {
- return this._1814491210updateDiffHRule;
- }
-
- public function __installButton_click(param1:MouseEvent) : void
- {
- this.onInstall();
- }
-
- public function set updateDiffCancelButton(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._1733670438updateDiffCancelButton;
- if(_loc2_ !== param1)
- {
- this._1733670438updateDiffCancelButton = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateDiffCancelButton",_loc2_,param1));
- }
- }
-
- public function ___AppInstaller_State6_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.continueButton);
- }
-
- private function _AppInstaller_Label3_i() : Label
- {
- var _loc1_:Label = new Label();
- this._AppInstaller_Label3 = _loc1_;
- _loc1_.styleName = "formItemText";
- _loc1_.maxWidth = 240;
- _loc1_.id = "_AppInstaller_Label3";
- BindingManager.executeBindings(this,"_AppInstaller_Label3",this._AppInstaller_Label3);
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty7_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty7 = _loc1_;
- _loc1_.name = "resourceName";
- _loc1_.value = "msgConfirmAppInstall";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty7",this._AppInstaller_SetProperty7);
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty16_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty16 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 354;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty16",this._AppInstaller_SetProperty16);
- return _loc1_;
- }
-
- private function _AppInstaller_State8_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Prefs_Full_Mac";
- _loc1_.basedOn = "Prefs_Full_Win";
- _loc1_.overrides = [this._AppInstaller_RemoveChild2_i()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State8_enterState);
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty27_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty27 = _loc1_;
- _loc1_.name = "resourceName";
- _loc1_.value = "lblUninstallingApp";
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty27",this._AppInstaller_SetProperty27);
- return _loc1_;
- }
-
- public function __updateDiffLinkButton_click(param1:MouseEvent) : void
- {
- this.onMore();
- }
-
- public function ___AppInstaller_VBox2_creationComplete(param1:FlexEvent) : void
- {
- activate();
- }
-
- [Bindable(event="propertyChange")]
- public function get updateDiffMidSpacer() : Spacer
- {
- return this._1780808646updateDiffMidSpacer;
- }
-
- public function ___AppInstaller_State9_enterState(param1:FlexEvent) : void
- {
- focusManager.setFocus(this.continueButton);
- }
-
- private function _AppInstaller_LocalizedLabel7_c() : LocalizedLabel
- {
- var _loc1_:LocalizedLabel = new LocalizedLabel();
- _loc1_.resourceName = "lblInstallationPrefs";
- _loc1_.styleName = "h2";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_State29_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "Update_Diff_Disabled";
- _loc1_.basedOn = "Update_Diff_Ver";
- _loc1_.overrides = [this._AppInstaller_SetProperty49_i(),this._AppInstaller_RemoveChild10_i(),this._AppInstaller_RemoveChild11_i(),this._AppInstaller_RemoveChild12_i(),this._AppInstaller_RemoveChild13_i(),this._AppInstaller_SetProperty50_i(),this._AppInstaller_SetProperty51_i(),this._AppInstaller_AddChild15_i()];
- _loc1_.addEventListener("enterState",this.___AppInstaller_State29_enterState);
- return _loc1_;
- }
-
- [Bindable(event="propertyChange")]
- public function get titleLabel() : LocalizedLabel
- {
- return this._1791483012titleLabel;
- }
-
- private function _AppInstaller_TextArea1_i() : TextArea
- {
- var _loc1_:TextArea = null;
- _loc1_ = new TextArea();
- this.updateAppsRunning = _loc1_;
- _loc1_.height = 60;
- _loc1_.percentWidth = 100;
- _loc1_.styleName = "eulaText";
- _loc1_.condenseWhite = true;
- _loc1_.editable = false;
- _loc1_.selectable = false;
- _loc1_.setStyle("leading",5);
- _loc1_.id = "updateAppsRunning";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_LocalizedButton14_i() : LocalizedButton
- {
- var _loc1_:LocalizedButton = new LocalizedButton();
- this.updateDiffReplaceButton = _loc1_;
- _loc1_.styleName = "defaultButton";
- _loc1_.minWidth = 120;
- _loc1_.resourceName = "btnReplace";
- _loc1_.setStyle("icon",this._embed_mxml_assets_reinstall_icon_png_1354539284);
- _loc1_.addEventListener("click",this.__updateDiffReplaceButton_click);
- _loc1_.id = "updateDiffReplaceButton";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- return _loc1_;
- }
-
- private function _AppInstaller_State17_c() : State
- {
- var _loc1_:State = new State();
- _loc1_.name = "ProgressUninstall";
- _loc1_.basedOn = "Progress";
- _loc1_.overrides = [this._AppInstaller_SetProperty27_i()];
- return _loc1_;
- }
-
- private function _AppInstaller_SetProperty38_i() : SetProperty
- {
- var _loc1_:SetProperty = new SetProperty();
- this._AppInstaller_SetProperty38 = _loc1_;
- _loc1_.name = "stageHeight";
- _loc1_.value = 200;
- BindingManager.executeBindings(this,"_AppInstaller_SetProperty38",this._AppInstaller_SetProperty38);
- return _loc1_;
- }
-
- private function _AppInstaller_AddChild15_i() : AddChild
- {
- var _loc1_:AddChild = new AddChild();
- this._AppInstaller_AddChild15 = _loc1_;
- _loc1_.position = "after";
- _loc1_.targetFactory = new DeferredInstanceFromFunction(this._AppInstaller_Spacer12_c);
- BindingManager.executeBindings(this,"_AppInstaller_AddChild15",this._AppInstaller_AddChild15);
- return _loc1_;
- }
-
- private function _AppInstaller_OSButtonBarHBox3_c() : OSButtonBarHBox
- {
- var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
- _loc1_.styleName = "buttonRow";
- if(!_loc1_.document)
- {
- _loc1_.document = this;
- }
- _loc1_.addChild(this._AppInstaller_LocalizedButton6_i());
- _loc1_.addChild(this._AppInstaller_LocalizedButton7_i());
- return _loc1_;
- }
-
- public function __eula_agree(param1:Event) : void
- {
- this.onAgree();
- }
-
- private function onSave() : void
- {
- var file:File = File.documentsDirectory.resolvePath(this.record.filename);
- file.addEventListener(Event.SELECT,function(param1:Event):void
- {
- record.prefs.saveFile = param1.target;
- record.prefs.action = "save";
- currentState = "ProgressSave";
- events.dispatchEvent(new Event("appinstall.complete"));
- });
- file.browseForSave("");
- }
-
- public function set dialogCancel(param1:LocalizedButton) : void
- {
- var _loc2_:Object = null;
- _loc2_ = this._83361310dialogCancel;
- if(_loc2_ !== param1)
- {
- this._83361310dialogCancel = param1;
- this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"dialogCancel",_loc2_,param1));
- }
- }
- }
- }
-
-